Originally part of the vertex exporter, because it concerns lines, I've split it from thats.
Below some naive NURBS-to-polyhedrons curves traced in tS have been converted in SVG and imported in Inkscape. Further - yet more naivest - elaborations have been made with it.
The plug-in get the outline profile of the curves (no fill in it) both the curve is got from context's nurbs extrusion and then converted to poly or converted to poly through the appropriate button or sweeped with "size z" > 0 as long as it isn't rotated along xy axis (top view is assumed). To make the "shape within the shape" is enough to set the "location z" freely up or down. The curve are exported grouped and locked; hence the relevant operations to work on each curve point or on every single shape is left to the client SVG program. I've tested OK the SVGs both on Inkscape and on GIMP. I don't know how they behaves on Illustrator; but the SVG is very basic, without any further reference or comment; so it would work. As always feedbacks are appreciated on this matters.
The zip
Plugin: 2D curve(s) to SVG
- bitkar
- Captain
- Posts: 2061
- Joined: 16 Mar 2010, 07:14
- Type the number ten into the box: 0
- Location: Czech Republic
- Contact:
Re: Plugin: 2D curve(s) to SVG
cool.... love those things. What about import of SVG?
Michal aka bitkar
tS freak since tS2 (1998) and forever (tS7.61 modeler)
tS freak since tS2 (1998) and forever (tS7.61 modeler)
- Draise
- Captain
- Posts: 3200
- Joined: 21 Sep 2009, 19:33
- Type the number ten into the box: 0
- Location: Bogota, Colombia
- Contact:
Re: Plugin: 2D curve(s) to SVG
This is great! Is there a way to import SVG's? I do use Inkscape sometimes!
- Fenerit
- Senior Chief Petty Officer
- Posts: 173
- Joined: 21 Nov 2011, 19:19
- Type the number ten into the box: 9
Re: Plugin: 2D curve(s) to SVG
I made this plug-in because the way in which curves a got from tS is far more easy respect to whatelse 2D program of its kind. I'm unable to get with the same easyness of tS the curve's control in whatelse 2d program which does the same thing; thus I never thought to do the converse, because was a no-sense from my part. Just an example: do try to get an ISO conformed gears, an HE an IPE in a 2D graphic program; apart AutoCAD, you will find some trouble even with Illustrator. Nobody uses this programs to do so, while from 3D programs you can go in thats. Nonetheless, I will take a look.
- Draise
- Captain
- Posts: 3200
- Joined: 21 Sep 2009, 19:33
- Type the number ten into the box: 0
- Location: Bogota, Colombia
- Contact:
Re: Plugin: 2D curve(s) to SVG
Yeah, that makes sense. I did always love the curves of TS6.6 over 2d programs for sure. I guess you have a good point there!
- Fenerit
- Senior Chief Petty Officer
- Posts: 173
- Joined: 21 Nov 2011, 19:19
- Type the number ten into the box: 9
Re: Plugin: 2D curve(s) to SVG
Exporting from pagemakers to 3d program is puzzling; what hell one does export in 3D? At least one does make an heightfield of the page and then extrude all.
- BNG
- Chief Warrant Officer
- Posts: 684
- Joined: 16 Oct 2009, 03:26
- Type the number ten into the box: 0
- Location: Texas
- Contact:
Re: Plugin: 2D curve(s) to SVG
Awesome bro, thanks for posting it for all.
Casual Truespace 3D modeling hobbyist. My Truespace blog and simple 3d Modeling Tutorials for Casual Model Makers.
- Fenerit
- Senior Chief Petty Officer
- Posts: 173
- Joined: 21 Nov 2011, 19:19
- Type the number ten into the box: 9
Re: Plugin: 2D curve(s) to SVG
Inspired by the discussion here about the outstanding clinton' work upon SVG importer, I've decided to enhance the exporter.
The new features allows the export of the material colors and of the filled shapes, either glued/unglued together. Currently, I'm working on settings, pretty easy to do with check-boxes and such, concerning also stroke-color and stroke-width, for this I should like to hear some suggestions about it (Emmanuel?) before to release the new version.
The new features allows the export of the material colors and of the filled shapes, either glued/unglued together. Currently, I'm working on settings, pretty easy to do with check-boxes and such, concerning also stroke-color and stroke-width, for this I should like to hear some suggestions about it (Emmanuel?) before to release the new version.
Last edited by Fenerit on 03 Nov 2015, 19:11, edited 1 time in total.
- clintonman
- Captain
- Posts: 5601
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
- Contact:
Re: Plugin: 2D curve(s) to SVG
Maybe you can use the layer color for the stroke color.