Smooth transitions in Bézier paths
by Diederik van Lierop
Hi,
I hope you don't mind if I increase the traffic on inkscape-devel even
more ;-)
At some point an idea popped up to only snap to nodes at discontinuities
in paths, and not to nodes at smooth transitions from one Bézier segment
to another. This is more intuitive (less "Hey, what it is Inkscape
snapping to now?") and might increase performance.
Problem is that in the object-snapper I only have access to SPCurve,
which is a wrapper for "old-style" NArtBpath. It's easy to find out
whether a point is inbetween two Bézier segments, but how do I find out
if a transition is smooth? I guess that should be done by comparing the
control points, or is there an easier way? With the transition to
lib2geom, will the NArtBpath be deprecated in favor of the Path class?
(that would make this rather exercise useless in the long run).
Any pointers would be appreciated here,
Diederik
14 years, 10 months
question regarding wishblade robocraft support...
by stuart
Sorry for posting here if the user list if better. And sorry about the
subject if it has been talked about before. I couldn't get sourceforge
to add me to the inkscape user mail list and sourceforge was timing out
on all my archive searches with no results.
---
I remember reading that there was a patch or something to inkscape to
support wishblade and robocraft users. Has that been integrated into
the inkscape application? Is that what the DXF is all about?
Wishblade users can not use DXF directly (needing the robocraft software
to import DXF and change it to some sort of native (and maybe
proprietary) GSD). Is there a way to get inkscape to save images in GSD
in order to simplify the process?
Ideally, I would prefer to skip bringing up the wishblade application.
In my set up, I do all my work in linux (GIMP/INKSCAPE) and only the
plotting in Windows. If I could do everything in linux it would
simplify the flow of work greatly. Has anyone figured out how the
craftrobo is communicated to in order to use it with common open source
linux plotting software?
Better yet, has anyone figured out how the wishblade has been crippled
in order to use it with common open source linux plotting software?
...thanks
15 years
inkscape git mirror?
by MenTaLguY
I'm interested in setting up a git mirror of Inkscape SVN; who's the person in charge of our server currently? We'll need to have a fairly current version of git, libsvn, and the libsvn perl bindings installed to do this.
-mental
15 years, 3 months
Fwd: Programming for Inkscape.
by bulia byak
...forwarding this to the devel list...
---------- Forwarded message ----------
From: Pam B. <pamely@...329...>
Date: Thu, Feb 14, 2008 at 2:26 PM
Subject: Programming for Inkscape.
To: buliabyak@...400...
Hi,
I have been told to contact you by Bibi Morris. I understand that in the
past some wonderful people have made changes in Inkscape that made it an
incredibly useful program for owners of Wishblade and CraftRobo personal
media cutters.
I have now been provided a tip that would allow users of Linux to drive
their machines directly from Inkscape. The "tip" suggested that Windows
users might be able to do the same if someone was able to do something
with the windows binary for Inkscape. As is probably already obvious, I
know nothing about Operating Systems, nor do I know anything about
coding and software programming.
Actually, I no longer even own a Wishblade, (I have moved on to a bigger
machine.) but I do run a support group for over 1,000 personal cutter
owners. This has the potential of being a very powerful tool to owners
of these types of cutters and could save them hundreds of dollars in
software upgrades. Would you please check into this and see if it is
something that can be done for us?
Thank you,
Pam Beard and the 1,000+ in the yahoo group: EasyWishbladers
The "tip" is pasted below:
If the words Linux, RedHat, Debian, Inkscape and / or Python mean
anything to you read on (warning, getting technical here...).
How would you like to cut from inkscape? all in Linux?
I have been lurking in Linux Printer Driver land and was very happy
to find an early copy of a Python script designed to provide the
necessary "linkage" between Inkscape and a craftrobo cutter. With a
little change to the code, we verified it works with a wishblade as
well. But you might have to wait until there is support in the down
loadable python script.
Basically, you print from Inkscape "using PostScript operators" (not
as a bitmap). And, instead of sending the output to a printer, you
"pipe" it to the python application. This operation is actually
described in the Inkscape print popup menu. When you click on print,
the python GUI pops up giving you more options. This GUI interface
is *much* simpler than the actual graphtec software. Most anything
to do with the image needs to be done in Inkscape. The only real
control on the GUI are the paper size, the cutting speed and the
cutting pressure.
I suppose this can also be done in windows. My *assumptions* are
that there is a windows binary for inkscape as well as python and
python related software. If that's the case, then you may be able to
skip setting up a Linux box.
I know I am hitting only about 1% of you, but if you want to try the
script you can get it here: http://vidar.gimp.org/graphtecprint/
....I am sure feed back at this stage of development would influence
what features are fixed, enhanced and / or added.
--
bulia byak
Inkscape. Draw Freely.
http://www.inkscape.org
15 years, 3 months
tar-pax option in configure.ac
by John Bintz
Ted,
Myself and others have been having problems building Inkscape since
r17648, when you added the option for the tar-pax format in
AM_INIT_AUTOMAKE. Ubuntu Gutsy, which I'm running, and Fedora Core 6,
according to some mailing list traffic, don't have a new enough version
of automake in their standard repositories to run ./autogen.sh
successfully with that option enabled. Other distributions may be
involved, too. Using automake1.8 and removing the tar-pax option get
./autogen.sh to work, and I'm wondering what you would think about
rolling back the tar-pax option for now, to ease the problems that users
of those operating systems are having with building Inkscape, and then
re-enabling it later, when the repositories for those distributions
upgrade to the newer automake1.10.
Thanks,
John
15 years, 6 months
Snapping to nodes (within same path)
by unknown@example.com
Hi all,
Mostly to Diederik: can nodes of a path snap to nodes of the same path when nodeediting them?
It seems they can't, but perhaps I should switch another toggle somewhere?
Regards,
Johan
__________________________________________________
ir. J.B.C. Engelen
PhD student Micro Electromechanical Systems (MEMS)
TST EWI, University of Twente
The NETHERLANDS
e-mail: j.b.c.engelen@...1887...
15 years, 6 months
Extensions on win32
by Ted Gould
Hey,
So I think that this patch fixes a bunch of the extensions problems,
many of them on win32. Can someone test it on Windows for me?
Thanks,
Ted
15 years, 6 months
0.46/0.47 about pictures
by Alexandre Prokoudine
Hi,
I know, maybe it's too early to discuss that, but what happened to the
chosen 0.46 and 0.47/SVN about pictures? :)
Alexandre
15 years, 6 months
Re: [Inkscape-devel] [Inkscape-user] 0.46, 0.45 startup problems on Leopard
by Stuart Edwards
Thank you for the quick response. No trouble - just like to get to
the bottom of it -
On Feb 24, 2008, at 12:27 PM, jiho wrote:
> Hi,
>
> Thanks for the detailed report and sorry for the trouble. My answers
> below.
>
> On 2008-February-24 , at 17:05 , Stuart Edwards wrote:
>> Reboot
>> Activate Inkscape
>> Inkscape menu appears but no windows; X11 is not activated
>>
>> console messages are:
>>
>> 2/24/08 9:59:29 AM [0x0-0x1a01a].org.inkscape.Inkscape[224]
>> 2008-02-24
>> 09:59:29.816 defaults[245:10b]
>> 2/24/08 9:59:29 AM [0x0-0x1a01a].org.inkscape.Inkscape[224] The
>> domain/
>> default pair of (kCFPreferencesAnyApplication, AppleAquaColorVariant)
>> does not exist
>> 2/24/08 9:59:29 AM defaults[246] The domain/default pair of
>> (kCFPreferencesAnyApplication, AppleHighlightColor) does not exist
>> 2/24/08 9:59:30 AM [0x0-0x1a01a].org.inkscape.Inkscape[224]
>> 2008-02-24
>> 09:59:29.922 defaults[246:10b]
>> 2/24/08 9:59:30 AM [0x0-0x1a01a].org.inkscape.Inkscape[224] The
>> domain/
>> default pair of (kCFPreferencesAnyApplication, AppleHighlightColor)
>> does not exist
>
> These are known and fixed in the latest versions (but there may not be
> a build yet, can't remember when I did the last one). To work around
> it you can open System prefs, change the appearance settings and it
> will generate those two keys in the preferences. You can then switch
> back to your previous settings (but in the meantime do yourself a
> favor and switch to graphite and grey highlighting ;) )
Ok - now Inkscape 'opens' (still no X11 windows) but there are no
console messages either.
>
>
>> Activate X11 (this is X11.app at /Applications/Utilities/X11.app/
>> Contents/MacOS/X11 )
>> xterm window opens
>>
>> Activate Inkscape
>> Inkscape menu appears but no X11 windows
>>
>> Console messages similar with a couple of additions, then the
>> Activity
>> Monitor goes a little crazy:
>> [...]
>> 2/24/08 10:10:26 AM Activity Monitor[271] *** -[NSCFArray
>> objectAtIndex:]: index (24) beyond bounds (24)
>> 2/24/08 10:10:46 AM Activity Monitor[271] *** -[NSCFArray
>> objectAtIndex:]: index (24) beyond bounds (24)
>> 2/24/08 10:10:46 AM Activity Monitor[271] *** -[NSCFArray
>> objectAtIndex:]: index (24) beyond bounds (24)
>> 2/24/08 10:10:46 AM Activity Monitor[271] *** -[NSCFArray
>> objectAtIndex:]: index (24) beyond bounds (24)
>> etc, once per second
>
> These I don't know about. They are Activity Monitor messages so I
> guess there something wrong there. Do you notice it only with
> Inkscape? My guess is that this is just a display problem since a
> process was suppressed outside of activity monitor, while it was
> running.
Just triggered by Inkscape -- but not happening now after changing the
settings / updating X11.
>
>
>> Quit Inkscape and console says:
>>
>> 2/24/08 10:17:12 AM [0x0-0x23023].org.inkscape.Inkscape[367] Platypus
>> App: PID 368 killed brutally
>> 2/24/08 10:17:12 AM com.apple.launchd[84]
>> ([0x0-0x23023].org.inkscape.Inkscape[367]) Stray process with PGID
>> equal to this dead job: PID 368 PPID 1 inkscape-bin
>
> this is normal behavior when you force-quit inkscape.
ok -
>
>
>> Quit Activity Monitor
>>
>> Try to activate Inkscape and X11 several times - same results.
>> Inkscape did actually fire up a couple of days ago, but seemed to
>> freeze a lot on file management tasks.
>> Unfortunately I can't recreate that today.
>
> Strange. The unknown keypairs are just for the gtk theme, Inkscape
> should start without it and just use the default. No clue at this
> point.
strange that nothing would induce it to start today
>
>
>> Go back to 0.45
>> Activate Inkscape (X11 is open)
>> Inkscape window opens
>> I usually have to have X11 open in order for Inkscape to find it --
>> been using it this way most of the time. 'Failed to start X11'
>> screen
>> is presented otherwise.
>
> 0.45 or 0.45.1? 0.45.1 universal was fixed to work on leopard and
> according to the new behavior of X11, 0.45 was not.
you're right - 0.45
>
>
>> Console messages are:
>>
>> 2/24/08 10:22:28 AM [0x0-0x2e02e].org.inkscape.Inkscape[685] /
>> Applications/Inkscape/Inkscape.app/Contents/Resources/script: line
>> 17:
>> open-x11: command not found
>> 2/24/08 10:22:28 AM [0x0-0x2e02e].org.inkscape.Inkscape[685] Unable
>> to
>> find application named 'XDarwin'
>
> ↑↑ This is probably 0.45 and not 0.45.
Yes, it's 0.45
>
>> 2/24/08 10:22:31 AM [0x0-0x2e02e].org.inkscape.Inkscape[685]
>> (inkscape-
>> bin:686): Gtk-WARNING **: Locale not supported by C library.
>> 2/24/08 10:22:31 AM [0x0-0x2e02e].org.inkscape.Inkscape[685] Using
>> the fallback 'C' locale.
>
> This is OK.
Not getting this now with xquartz
>
>
>> 2/24/08 10:22:32 AM [0x0-0x2e02e].org.inkscape.Inkscape[685] **
>> (inkscape-bin:686): WARNING **: Unknown verb name: FullScreen
>
> This is just a warning but we are having it a lot. This is related to
> the new version of X11 but I don't know where it comes from on
> Inkscape's side.
Nor this
>
>
>> 2/24/08 10:22:34 AM [0x0-0x2e02e].org.inkscape.Inkscape[685]
>> (inkscape-
>> bin:686): Pango-WARNING **: Error loading GDEF table 85
>> 2/24/08 10:22:34 AM [0x0-0x2e02e].org.inkscape.Inkscape[685]
>> (inkscape-
>> bin:686): Pango-WARNING **: Error loading GPOS table 85
>> 2/24/08 10:22:34 AM [0x0-0x2e02e].org.inkscape.Inkscape[685]
>> (inkscape-
>> bin:686): Pango-WARNING **: Error loading GSUB table 85
>
> These are regular warnings too.
ok, but they are gone too.
>
>
>> This may shed some light on the X11 problem
>
> The X11 problem is the following: on Panther+Tiger X11 must be started
> to run X11 applications so we started it manually in Inkscape
> launcher, on Leopard, X11 is automatically launched when an
> applications queries the DISPLAY variable (and X11 thing). So we just
> had to surround the code which started X11 in the launcher by an if
> condition ( if version is < 10.5 then start X11, else just skip it ).
> This has been included in all recent devel versions of Inkscape (all
> those compiled on Leopard at least) and has been "backported" to
> 0.45.1. So all those should work on Leopard.
So this definitely doesn't seem to be happening with Leopard or 0.45.1
(see below)
>
> In the devel version the gtk theme was added and this leads to
> problems when the default Aqua appearance was never changed. I knew
> about it last week or so, and fixed it. But in any case, it should
> just start with an ugly theme.
>
> So my advice:
> - do the appearance thing
done
>
> - get the lastest build for leopard. It is kind of a pre-release build
> so it has many bugs squashed out, better font support and python
> support for extensions is included (hence the size of the download)
> http://inkscape.modevia.com/macosx-snap/Inkscape-17373-10.5-i386.dmg
that's what I have - but I just downloaded it again to be sure.
>
> - get the latest X11 from Xquartz (*much* better than the default one
> on Leopard, and kind of official
>
> http://trac.macosforge.org/projects/xquartz/wiki/X112.1.4
done - unfortunately the net result is no change as far as 0.46 is
concerned. I downloaded 0.45.1 and it opens briefly, triggers X11
which opens and then Inkscape is gone. There are no Inkscape related
console messages.
>
> With those, everything should be fine. If it is not, then let us know.
>
> JiHO
So my fall back is opening X11 manually and running 0.45 -- that seems
to be reasonably stable, although some of the effects are missing
because of the lack of pyxml - but never mind. It's still a great
program.
Stu
15 years, 7 months
Re: [Inkscape-devel] clip/mask edit
by Guillermo Espertino
I really needed this feature. Good work!
A couple of thoughts about clipping paths and masks.
-Clipping should be also placed in the right-click menu on the canvas.
It's a tool used very frequently and since it hasn't a keyboard shortcut
(please correct me if I'm wrong) it's kind of "hidden". A more accesible
place would be welcome.
-Clipping path and mask nodes should be considered in snapping.
Currently they aren't and it's very difficult to manually place clipped
objects in a specific place when snapping is needed.
-Finally, I agree with the idea to make the clip and mask editable
directly from the path edit tool. It would be fast and intuitive.
What do you guys think? If you agree with these ideas I'll fill the
proper bug or RFE.
15 years, 7 months