discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

rotate_extrude angle always 360

A
adrian
Fri, Nov 11, 2016 4:29 AM

Doing this:

results in a full torus.  That's not right. :(

Using OpenSCAD version 2015.03-2 on Win8.1 platform.

Has anyone else experienced this?

Thanks,

A

--
View this message in context: http://forum.openscad.org/rotate-extrude-angle-always-360-tp19035.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Doing this: results in a full torus. That's not right. :( Using OpenSCAD version 2015.03-2 on Win8.1 platform. Has anyone else experienced this? Thanks, A -- View this message in context: http://forum.openscad.org/rotate-extrude-angle-always-360-tp19035.html Sent from the OpenSCAD mailing list archive at Nabble.com.
M
MichaelAtOz
Fri, Nov 11, 2016 4:44 AM

Wiki

angle [Note: Requires version 2016.XX]

You need a  development snapshot
http://www.openscad.org/downloads.html#snapshots  .


Admin - PM me if you need anything, or if I've done something stupid...

Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above.

The TPP is no simple “trade agreement.”  Fight it! http://www.ourfairdeal.org/  time is running out!

View this message in context: http://forum.openscad.org/rotate-extrude-angle-always-360-tp19035p19036.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Wiki > angle [Note: Requires version 2016.XX] You need a development snapshot <http://www.openscad.org/downloads.html#snapshots> . ----- Admin - PM me if you need anything, or if I've done something stupid... Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above. The TPP is no simple “trade agreement.” Fight it! http://www.ourfairdeal.org/ time is running out! -- View this message in context: http://forum.openscad.org/rotate-extrude-angle-always-360-tp19035p19036.html Sent from the OpenSCAD mailing list archive at Nabble.com.
HL
Hans L
Fri, Nov 11, 2016 4:12 PM

Attached is a workaround, which I have used to keep compatibility with
older OpenSCAD versions that I have no control over, namely the one used in
Thingiverse customizer.

To use it just call rotate_extrude2(...)

If openscad version is high enough, it will use the built in angle
parameter, which is much faster than the workaround.

It has an extra parameter "size" which should be set to larger than the
largest coordinate of the children shape.  It defaults to 1000 which should
work ok for most cases.  This parameter is necessary because bounding box
data is not queryable in the language.

On Thu, Nov 10, 2016 at 10:44 PM, MichaelAtOz oz.at.michael@gmail.com
wrote:

Wiki

angle [Note: Requires version 2016.XX]

You need a  development snapshot
http://www.openscad.org/downloads.html#snapshots  .


Admin - PM me if you need anything, or if I've done something stupid...

Unless specifically shown otherwise above, my contribution is in the
Public Domain; to the extent possible under law, I have waived all
copyright and related or neighbouring rights to this work. Obviously
inclusion of works of previous authors is not included in the above.

The TPP is no simple “trade agreement.”  Fight it!
http://www.ourfairdeal.org/  time is running out!

View this message in context: http://forum.openscad.org/
rotate-extrude-angle-always-360-tp19035p19036.html
Sent from the OpenSCAD mailing list archive at Nabble.com.


OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

Attached is a workaround, which I have used to keep compatibility with older OpenSCAD versions that I have no control over, namely the one used in Thingiverse customizer. To use it just call rotate_extrude2(...) If openscad version is high enough, it will use the built in angle parameter, which is much faster than the workaround. It has an extra parameter "size" which should be set to larger than the largest coordinate of the children shape. It defaults to 1000 which should work ok for most cases. This parameter is necessary because bounding box data is not queryable in the language. On Thu, Nov 10, 2016 at 10:44 PM, MichaelAtOz <oz.at.michael@gmail.com> wrote: > Wiki > > angle [Note: Requires version 2016.XX] > > You need a development snapshot > <http://www.openscad.org/downloads.html#snapshots> . > > > > ----- > Admin - PM me if you need anything, or if I've done something stupid... > > Unless specifically shown otherwise above, my contribution is in the > Public Domain; to the extent possible under law, I have waived all > copyright and related or neighbouring rights to this work. Obviously > inclusion of works of previous authors is not included in the above. > > The TPP is no simple “trade agreement.” Fight it! > http://www.ourfairdeal.org/ time is running out! > -- > View this message in context: http://forum.openscad.org/ > rotate-extrude-angle-always-360-tp19035p19036.html > Sent from the OpenSCAD mailing list archive at Nabble.com. > > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org >
A
adrian
Fri, Nov 11, 2016 5:30 PM

Strange.  Not sure how I missed that.

Thanks,

A

--
View this message in context: http://forum.openscad.org/rotate-extrude-angle-always-360-tp19035p19041.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Strange. Not sure how I missed that. Thanks, A -- View this message in context: http://forum.openscad.org/rotate-extrude-angle-always-360-tp19035p19041.html Sent from the OpenSCAD mailing list archive at Nabble.com.
A
adrian
Fri, Nov 11, 2016 5:31 PM

Yeah, I thought of that already.  Thanks anyway.

A

--
View this message in context: http://forum.openscad.org/rotate-extrude-angle-always-360-tp19035p19042.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Yeah, I thought of that already. Thanks anyway. A -- View this message in context: http://forum.openscad.org/rotate-extrude-angle-always-360-tp19035p19042.html Sent from the OpenSCAD mailing list archive at Nabble.com.