Hi Peter and all, On Sat, 2008-12-20 at 06:42 +0000, Peter Clifton wrote: > On Sat, 2008-12-20 at 07:35 +0100, Bert Timmerman wrote: > > Hi Peter and all, > > > > On Fri, 2008-12-19 at 14:21 +0000, Peter Clifton wrote: > > > Hi guys, > > >
> > What exactly would you have done to prettify using "paths" (e.g on > > gates) ? > <snip> > Currently we have a lot of ropey looking gate symbols (some more than > other). They are made up of discrete lines and arcs. > > We could make these into closed paths, which allows a more precise > selection of the objects, and also increases the visual quality a great > deal. > > Since we don't yet have a path editor, the person doing this would > either have to start using an SVG editor, or a template path (I can > provide one if you want). Once you have a path with the right line and > curve sections, you can copy and adjust it within gschem. > FWIW, a "path editor" could behave in a similar way as done in AutoCAD. In AutoCAD "paths" are called polylines and these are made up with lines, arcs and circles. One can draw a polyline from scratch with the command "pline", or convert existing entities into a polyline with the command "pedit". For the command "pline" the user selects a starting point, add values for starting and ending width, selects an end point for the first vertex with the LMB, enters "r" and a radius value for a curved vertex (which can have a different end width), and so on until either the "c" is entered to close the polyline, or "x" is hit for exit. For the command "pedit" the user selects an entity, answers "yes" to the dialog "do you really want to convert this entity into a polyline" and after that the user continues adding entities by selecting one or multiple entities with the LMB until finished by entering "x" for exit. Clicking the RMB pops up a combobox dialog attached to the cursor with the choices within the active command. AutoCAD itself sorts out the optimal sequence of the multiple added vertices. If you want I can spell out this actions more in detail if you think now is the time to start coding on this. The availability of a "pedit" like command in gschem would help to prettify existing symbols. Kind regards, Bert Timmerman. > To approximate circles nicely, you need to get the control points in a > specific position though.. I can help lookup the right maths if someone > volunteers to do this. Alternatively, exploit the fact that gEDA knows > how to parse most of the SVG curve specifications, and some would allow > you to input the circular arc directly. (gschem then saves out the > bezier curve approximation.) > > > Anyway it would help if you would try to make a clear job description > > before somebody starts on one of this jobs, or am I missing something. > > > > I will see you reply (if any) not before 27.12, as I'm now of to > > angling. > > Have fun! > > Best regards, > _______________________________________________ geda-dev mailing list geda-dev@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev