[OpenSCAD] Convert from object to polygon/polyhedron.
nop.head at gmail.com
Tue Oct 4 09:59:17 EDT 2016
The problem is that with F5 preview the geometry is never calculated. It is
straight from variables to pixels, so the information is never there unless
you use render().
On 4 October 2016 at 14:32, Adrian H <adrianh.bsc at gmail.com> wrote:
> Oh, and further to this, yes, one can write the primitives and the
> operators, but that would be reinventing the wheel, and would definitely be
> slower. Especially with things like hull() and minkowski().
> The information is available, it just needs to be made available.
> Thinking about this further, the operators that I described are actually a
> module to function crossover, which doesn't currently exist in OpenSCAD,
> but perhaps it could possibly be doable? Maybe by some incremental build
> As I understand it, it currently builds by:
> 1. calculate all variables/functions
> 2. calculate all operations/modules.
> 3. show result on screen result
> What I would be suggesting is to iterate over the first 2 steps, executing
> each iteration, child node first, up to such crossover points until
> everything is calculated, and then do step 3.
> Yes, that would be a significant change to the paradigm, but doable?
> On Tue, Oct 4, 2016 at 8:42 AM, Peter Falke <stempeldergeschichte@
> googlemail.com> wrote:
>> The reason there is no such thing is that OpenSCAD can not change/set
>> the variables (set any(!) variable) during execution.
>> But the 2d primitives are eaily written by your self.
>> The 3D primitives are doable too, but a little harder.
>> 2016-10-04 12:51 GMT+02:00 Mark Schafer <mschafer at wireframe.biz>:
>>> also on thingiverse is an inkscape extension which exports vector
>>> objects to openscad format directly:
>>> - http://www.thingiverse.com/thing:1065500
>>> Yes it would be nice if we could have lines as first class objects in
>>> OpenSCAD but for now these tools might help you
>>> On 10/4/2016 1:25 PM, Ronaldo wrote:
>>>> Yes, there is but not with OpenSCAD language yet. A python code by
>>>> converts AMF files (possibly exported by OpenSCAD) to a text file in the
>>>> OpenSCAD polyhedron format. See this discussion:
>>>> View this message in context: http://forum.openscad.org/Conv
>>>> Sent from the OpenSCAD mailing list archive at Nabble.com.
>>>> OpenSCAD mailing list
>>>> Discuss at lists.openscad.org
>>>> No virus found in this message.
>>>> Checked by AVG - www.avg.com
>>>> Version: 2016.0.7797 / Virus Database: 4656/13139 - Release Date:
>>> OpenSCAD mailing list
>>> Discuss at lists.openscad.org
>> OpenSCAD mailing list
>> Discuss at lists.openscad.org
> OpenSCAD mailing list
> Discuss at lists.openscad.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Discuss