discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

expressing multmatrix in translate and rotate?

P
pproj@posteo.de
Fri, Jul 23, 2021 5:05 PM

Hello Everybody

Openscads rendering speed on complex models is really difficult to
tolerate to me, it really slows down my work by an order of magnitude.

I was thinking of trying to export CSG from openscad and trying to feed
into impicitCad, in the hope it will be rendering much faster.

Strangely implicitCad does not know multmatrix, so i would like to
replace it by some translate  rotate or scale combination automatically.
is it even possible without an equation solver?

Anybody has an idea on how to do it?

Thanks Peter

Hello Everybody Openscads rendering speed on complex models is really difficult to tolerate to me, it really slows down my work by an order of magnitude. I was thinking of trying to export CSG from openscad and trying to feed into impicitCad, in the hope it will be rendering much faster. Strangely implicitCad does not know multmatrix, so i would like to replace it by some translate  rotate or scale combination automatically. is it even possible without an equation solver? Anybody has an idea on how to do it? Thanks Peter
J
jon
Fri, Jul 23, 2021 5:45 PM

Peter:

Have you tried using AngelCAD?  For some OpenSCAD scripts, AngelCAD is
stunningly faster when generating an STL.

Jon

On 7/23/2021 1:05 PM, pproj@posteo.de wrote:

Hello Everybody

Openscads rendering speed on complex models is really difficult to
tolerate to me, it really slows down my work by an order of magnitude.

I was thinking of trying to export CSG from openscad and trying to
feed into impicitCad, in the hope it will be rendering much faster.

Strangely implicitCad does not know multmatrix, so i would like to
replace it by some translate  rotate or scale combination
automatically. is it even possible without an equation solver?

Anybody has an idea on how to do it?

Thanks Peter


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

Peter: Have you tried using AngelCAD?  For some OpenSCAD scripts, AngelCAD is stunningly faster when generating an STL. Jon On 7/23/2021 1:05 PM, pproj@posteo.de wrote: > Hello Everybody > > Openscads rendering speed on complex models is really difficult to > tolerate to me, it really slows down my work by an order of magnitude. > > I was thinking of trying to export CSG from openscad and trying to > feed into impicitCad, in the hope it will be rendering much faster. > > Strangely implicitCad does not know multmatrix, so i would like to > replace it by some translate  rotate or scale combination > automatically. is it even possible without an equation solver? > > Anybody has an idea on how to do it? > > Thanks Peter > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org
NH
nop head
Fri, Jul 23, 2021 5:48 PM

You can compose translate, rotate, scale and skew into a single matrix but
I doubt there is a unique way of separating them out again.

On Fri, 23 Jul 2021 at 18:46, jon jon@jonbondy.com wrote:

Peter:

Have you tried using AngelCAD?  For some OpenSCAD scripts, AngelCAD is
stunningly faster when generating an STL.

Jon

On 7/23/2021 1:05 PM, pproj@posteo.de wrote:

Hello Everybody

Openscads rendering speed on complex models is really difficult to
tolerate to me, it really slows down my work by an order of magnitude.

I was thinking of trying to export CSG from openscad and trying to
feed into impicitCad, in the hope it will be rendering much faster.

Strangely implicitCad does not know multmatrix, so i would like to
replace it by some translate  rotate or scale combination
automatically. is it even possible without an equation solver?

Anybody has an idea on how to do it?

Thanks Peter


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

You can compose translate, rotate, scale and skew into a single matrix but I doubt there is a unique way of separating them out again. On Fri, 23 Jul 2021 at 18:46, jon <jon@jonbondy.com> wrote: > Peter: > > Have you tried using AngelCAD? For some OpenSCAD scripts, AngelCAD is > stunningly faster when generating an STL. > > Jon > > > On 7/23/2021 1:05 PM, pproj@posteo.de wrote: > > Hello Everybody > > > > Openscads rendering speed on complex models is really difficult to > > tolerate to me, it really slows down my work by an order of magnitude. > > > > I was thinking of trying to export CSG from openscad and trying to > > feed into impicitCad, in the hope it will be rendering much faster. > > > > Strangely implicitCad does not know multmatrix, so i would like to > > replace it by some translate rotate or scale combination > > automatically. is it even possible without an equation solver? > > > > Anybody has an idea on how to do it? > > > > Thanks Peter > > _______________________________________________ > > OpenSCAD mailing list > > To unsubscribe send an email to discuss-leave@lists.openscad.org > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >
P
pproj@posteo.de
Fri, Jul 23, 2021 6:52 PM

Hello Nophead, the solution does not have to be unique. i am happy with 
any solution, since it will compile into the same matrix in the end
anyway, i just wonder if it is possible without solving equations
On 23.07.21 19:48, nop head wrote:

You can compose translate, rotate, scale and skew into a single matrix
but I doubt there is a unique way of separating them out again.

On Fri, 23 Jul 2021 at 18:46, jon <jon@jonbondy.com
mailto:jon@jonbondy.com> wrote:

 Peter:

 Have you tried using AngelCAD?  For some OpenSCAD scripts,
 AngelCAD is
 stunningly faster when generating an STL.

 Jon


 On 7/23/2021 1:05 PM, pproj@posteo.de <mailto:pproj@posteo.de> wrote:

Hello Everybody

Openscads rendering speed on complex models is really difficult to
tolerate to me, it really slows down my work by an order of

 magnitude.

I was thinking of trying to export CSG from openscad and trying to
feed into impicitCad, in the hope it will be rendering much faster.

Strangely implicitCad does not know multmatrix, so i would like to
replace it by some translate  rotate or scale combination
automatically. is it even possible without an equation solver?

Anybody has an idea on how to do it?

Thanks Peter


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

 <mailto:discuss-leave@lists.openscad.org>
 _______________________________________________
 OpenSCAD mailing list
 To unsubscribe send an email to discuss-leave@lists.openscad.org
 <mailto:discuss-leave@lists.openscad.org>

OpenSCAD mailing list
To unsubscribe send an email todiscuss-leave@lists.openscad.org

Hello Nophead, the solution does not have to be unique. i am happy with  any solution, since it will compile into the same matrix in the end anyway, i just wonder if it is possible without solving equations On 23.07.21 19:48, nop head wrote: > You can compose translate, rotate, scale and skew into a single matrix > but I doubt there is a unique way of separating them out again. > > On Fri, 23 Jul 2021 at 18:46, jon <jon@jonbondy.com > <mailto:jon@jonbondy.com>> wrote: > > Peter: > > Have you tried using AngelCAD?  For some OpenSCAD scripts, > AngelCAD is > stunningly faster when generating an STL. > > Jon > > > On 7/23/2021 1:05 PM, pproj@posteo.de <mailto:pproj@posteo.de> wrote: > > Hello Everybody > > > > Openscads rendering speed on complex models is really difficult to > > tolerate to me, it really slows down my work by an order of > magnitude. > > > > I was thinking of trying to export CSG from openscad and trying to > > feed into impicitCad, in the hope it will be rendering much faster. > > > > Strangely implicitCad does not know multmatrix, so i would like to > > replace it by some translate  rotate or scale combination > > automatically. is it even possible without an equation solver? > > > > Anybody has an idea on how to do it? > > > > Thanks Peter > > _______________________________________________ > > OpenSCAD mailing list > > To unsubscribe send an email to discuss-leave@lists.openscad.org > <mailto:discuss-leave@lists.openscad.org> > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org > <mailto:discuss-leave@lists.openscad.org> > > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email todiscuss-leave@lists.openscad.org
NH
nop head
Fri, Jul 23, 2021 7:23 PM

I have a function that recovers a rotation from a rotation matrix here:
https://github.com/nophead/NopSCADlib/blob/master/utils/maths.scad#L107

Translate is easy as that is just the fourth column or row depending on
which way round it is, I forget.

On Fri, 23 Jul 2021 at 19:52, pproj@posteo.de pproj@posteo.de wrote:

Hello Nophead, the solution does not have to be unique. i am happy with
any solution, since it will compile into the same matrix in the end anyway,
i just wonder if it is possible without solving equations
On 23.07.21 19:48, nop head wrote:

You can compose translate, rotate, scale and skew into a single matrix but
I doubt there is a unique way of separating them out again.

On Fri, 23 Jul 2021 at 18:46, jon jon@jonbondy.com wrote:

Peter:

Have you tried using AngelCAD?  For some OpenSCAD scripts, AngelCAD is
stunningly faster when generating an STL.

Jon

On 7/23/2021 1:05 PM, pproj@posteo.de wrote:

Hello Everybody

Openscads rendering speed on complex models is really difficult to
tolerate to me, it really slows down my work by an order of magnitude.

I was thinking of trying to export CSG from openscad and trying to
feed into impicitCad, in the hope it will be rendering much faster.

Strangely implicitCad does not know multmatrix, so i would like to
replace it by some translate  rotate or scale combination
automatically. is it even possible without an equation solver?

Anybody has an idea on how to do it?

Thanks Peter


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

I have a function that recovers a rotation from a rotation matrix here: https://github.com/nophead/NopSCADlib/blob/master/utils/maths.scad#L107 Translate is easy as that is just the fourth column or row depending on which way round it is, I forget. On Fri, 23 Jul 2021 at 19:52, pproj@posteo.de <pproj@posteo.de> wrote: > Hello Nophead, the solution does not have to be unique. i am happy with > any solution, since it will compile into the same matrix in the end anyway, > i just wonder if it is possible without solving equations > On 23.07.21 19:48, nop head wrote: > > You can compose translate, rotate, scale and skew into a single matrix but > I doubt there is a unique way of separating them out again. > > On Fri, 23 Jul 2021 at 18:46, jon <jon@jonbondy.com> wrote: > >> Peter: >> >> Have you tried using AngelCAD? For some OpenSCAD scripts, AngelCAD is >> stunningly faster when generating an STL. >> >> Jon >> >> >> On 7/23/2021 1:05 PM, pproj@posteo.de wrote: >> > Hello Everybody >> > >> > Openscads rendering speed on complex models is really difficult to >> > tolerate to me, it really slows down my work by an order of magnitude. >> > >> > I was thinking of trying to export CSG from openscad and trying to >> > feed into impicitCad, in the hope it will be rendering much faster. >> > >> > Strangely implicitCad does not know multmatrix, so i would like to >> > replace it by some translate rotate or scale combination >> > automatically. is it even possible without an equation solver? >> > >> > Anybody has an idea on how to do it? >> > >> > Thanks Peter >> > _______________________________________________ >> > OpenSCAD mailing list >> > To unsubscribe send an email to discuss-leave@lists.openscad.org >> _______________________________________________ >> OpenSCAD mailing list >> To unsubscribe send an email to discuss-leave@lists.openscad.org >> > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org > > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >