Page 1 of 1

Converting to polylines

Posted: Sun May 18, 2014 3:29 pm
by pjrebordao
Maybe I'm not grasping the polyline concept...

I have a simple drawing (a closed shape), constituted by connected arcs and lines. I want to convert it to a polyline.
However, after the polyline command, I can't seem to select a "segment"... Whichever arc or line I touch, I can't select it. Aren't they "segments" ?

Re: Converting to polylines

Posted: Sun May 18, 2014 6:22 pm
by Husky
Hi - could you attach this particular drawing?

Re: Converting to polylines

Posted: Sun May 18, 2014 6:58 pm
by pjrebordao
ttb-pfl-1simple.dxf
(29.22 KiB) Downloaded 594 times
Here it is

Re: Converting to polylines

Posted: Sun May 18, 2014 7:23 pm
by Husky
pjrebordao wrote:Here it is
Thank you!

Is this what you are trying to get out of it?
ttb-pfl-1simple_mod.dxf
(87.46 KiB) Downloaded 485 times

Re: Converting to polylines

Posted: Sun May 18, 2014 9:12 pm
by pjrebordao
Sorry... I uploaded the wrong file. Is this one:
ttb-pfl-1simple.dxf
(28.39 KiB) Downloaded 578 times

Re: Converting to polylines

Posted: Mon May 19, 2014 12:30 am
by Husky
I assume your problem to create a polygon is based on incorrect transitions:
Husky-2014.05.18-05.png
Husky-2014.05.18-05.png (4.11 KiB) Viewed 15098 times
Husky-2014.05.18-06.png
Husky-2014.05.18-06.png (2.03 KiB) Viewed 15098 times
Please doublecheck your drawing and try again. What is the tolerance which you will use?

Re: Converting to polylines

Posted: Mon May 19, 2014 8:46 am
by Husky
Try this one:
ttb-pfl-1simple_redrawn.dxf
(89.31 KiB) Downloaded 483 times

Re: Converting to polylines

Posted: Mon May 19, 2014 12:03 pm
by pjrebordao
Thanks. This change you made really made it possible to be converted to polylines. I could easily select the segment(s).
How did you do it ? Finding and fixing the kind of error you shown me ?

Anyway, the reason for all this, is that I want to extrude a set of shapes from 2d to 3d.
I'm trying to use OpenScad for that, but I always get the error "No top level geometry to render"
At first, I thought the problem was the lack of polylines, as OpenScad doesn't support arcs and splines, but trying again after the conversion I got the same result.

BTW, do you happen to know of any other way to do this (extruding a shape) ?

Re: Converting to polylines

Posted: Mon May 19, 2014 3:46 pm
by Clive
pjrebordao wrote:BTW, do you happen to know of any other way to do this (extruding a shape) ?
Using only 'free' programs or other?

Re: Converting to polylines

Posted: Mon May 19, 2014 4:02 pm
by pjrebordao
Free programs if possible.

Re: Converting to polylines

Posted: Mon May 19, 2014 6:45 pm
by Husky
pjrebordao wrote:How did you do it ? Finding and fixing the kind of error you shown me ?
I used the Hatch tool - if you have some difficulties to make a hatch it will show you where to find the problem.
Most of the time a automatic (create from segments) Polygon has the same problem ... :wink:

Instead of fixing all problems I simply redraw this little shape.
I created a new layer and used it as a temp layer.
Then I took the 3 Points Circle tool to determine the radius and center of each arc.
Next step - Tangent Tool, 2 circles, to connect all circles.
After that I used the Auto Trim Tool to cut the circles in arcs what brings also a perfect transition between the entities,
Switched to the "flange-p" Layer, selected all entities on that layer - deleted all entities,
Switched to the temp layer - selected all on that layer - changed in the Property editor from temp to flange-p layer, this will bring the original used Attributes back,
deleted the temp layer,
Done! :wink:

Re: Converting to polylines

Posted: Mon May 19, 2014 8:48 pm
by Clive
pjrebordao wrote:Free programs if possible.
So presumably you are using the QCAD community edition (free version)?

Well the ideal situation would be for Andrew to add the option to save to the Collarda .dae format, then you could use the free Sketchup program to extrude your 2D planes!

Add a feature request for this:
http://www.ribbonsoft.com/bugtracker/

In addition why not ask more questions on the Openscad mailing list, they must know how to do this.

* Please post future community edition related questions in the relevant forum to avoid confusion :) Good luck.

Re: Converting to polylines

Posted: Mon May 19, 2014 9:26 pm
by andrew
Clive wrote:Well the ideal situation would be for Andrew to add the option to save to the Collarda .dae format, then you could use the free Sketchup program to extrude your 2D planes!

Add a feature request for this:
http://www.ribbonsoft.com/bugtracker/
Note that a feature request for Collada export already exists at:
http://www.qcad.org/bugtracker/index.ph ... ask_id=680

Re: Converting to polylines

Posted: Tue May 20, 2014 2:24 pm
by pjrebordao
Clive wrote: * Please post future community edition related questions in the relevant forum to avoid confusion :) Good luck.
So this forum is for the Pro version only ? I wasn't aware...