discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

kit wallace files are compiling wrong

U
ufomorace
Sat, Sep 19, 2015 1:26 PM

http://kitwallace.co.uk/3d/solid-to-scad.xq?id=SmallStellatedDodecahedron&scad=wire

These pages probably worked originally, is there a change from an abolished
code syntax error?

--
View this message in context: http://forum.openscad.org/kit-wallace-files-are-compiling-wrong-tp13897.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

http://kitwallace.co.uk/3d/solid-to-scad.xq?id=SmallStellatedDodecahedron&scad=wire These pages probably worked originally, is there a change from an abolished code syntax error? -- View this message in context: http://forum.openscad.org/kit-wallace-files-are-compiling-wrong-tp13897.html Sent from the OpenSCAD mailing list archive at Nabble.com.
R
runsun
Sat, Sep 19, 2015 4:16 PM

If you are talking about the "DEPRECATED: The assign() module ... " warning,
then modify each assign in the following code

   if (...)
     assign (f = xxx) 
     ...;

to

   if (...) {
     f = xxx ; 
     ...;
  }

$  Runsun Pan, PhD

$ -- libs: doctest , faces ( git ), offliner ( git );

tips: hash( 1 , 2 ), sweep , var

$ -- Linux Mint 17.1 Rebecca x64  + OpenSCAD 2015.03.15/2015.04.01.nightly

--
View this message in context: http://forum.openscad.org/kit-wallace-files-are-compiling-wrong-tp13897p13906.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

If you are talking about the "DEPRECATED: The assign() module ... " warning, then modify each assign in the following code > if (...) > assign (f = xxx) > ...; to > if (...) { > f = xxx ; > ...; > } ----- $ Runsun Pan, PhD $ -- libs: doctest , faces ( git ), offliner ( git ); tips: hash( 1 , 2 ), sweep , var $ -- Linux Mint 17.1 Rebecca x64 + OpenSCAD 2015.03.15/2015.04.01.nightly -- View this message in context: http://forum.openscad.org/kit-wallace-files-are-compiling-wrong-tp13897p13906.html Sent from the OpenSCAD mailing list archive at Nabble.com.
U
ufomorace
Sat, Sep 19, 2015 4:24 PM

Thanks runsun, i will attempt that. cool libs runsun, if i was not confused
at this moment i would have a change to figure them out in the near future.
!!! nice!!! The kit wallace codes are very sound i hope i will have them to
make some fish and chips in 3d for my city coding project.

--
View this message in context: http://forum.openscad.org/kit-wallace-files-are-compiling-wrong-tp13897p13907.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Thanks runsun, i will attempt that. cool libs runsun, if i was not confused at this moment i would have a change to figure them out in the near future. !!! nice!!! The kit wallace codes are very sound i hope i will have them to make some fish and chips in 3d for my city coding project. -- View this message in context: http://forum.openscad.org/kit-wallace-files-are-compiling-wrong-tp13897p13907.html Sent from the OpenSCAD mailing list archive at Nabble.com.
R
runsun
Sat, Sep 19, 2015 4:34 PM

You are welcome ! KitWallace is one of the several light houses of mine
learning Openscad. Glad you find the same way.


$  Runsun Pan, PhD

$ -- libs: doctest , faces ( git ), offliner ( git );

tips: hash( 1 , 2 ), sweep , var , lerp

$ -- Linux Mint 17.1 Rebecca x64  + OpenSCAD 2015.03.15/2015.04.01.nightly

--
View this message in context: http://forum.openscad.org/kit-wallace-files-are-compiling-wrong-tp13897p13908.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

You are welcome ! KitWallace is one of the several light houses of mine learning Openscad. Glad you find the same way. ----- $ Runsun Pan, PhD $ -- libs: doctest , faces ( git ), offliner ( git ); tips: hash( 1 , 2 ), sweep , var , lerp $ -- Linux Mint 17.1 Rebecca x64 + OpenSCAD 2015.03.15/2015.04.01.nightly -- View this message in context: http://forum.openscad.org/kit-wallace-files-are-compiling-wrong-tp13897p13908.html Sent from the OpenSCAD mailing list archive at Nabble.com.
K
kitwallace
Sun, Sep 20, 2015 9:57 AM

Very chuffed that you both find my stuff helpful.

I've updated the polyhedral code to remove assign.  That Small Stellated
Dodecahedron looks horrible!  I've a new version which works on polyhedral
forms in user space without CSG operations and supports Conway operations
that I'll put up RSN.

runsun,  I'm looking forward to your new libraries so I can do even more on
polyhedra, particularly to see if I can do crystal stuff using Miller
indexes in user space

Kit

--
View this message in context: http://forum.openscad.org/kit-wallace-files-are-compiling-wrong-tp13897p13923.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Very chuffed that you both find my stuff helpful. I've updated the polyhedral code to remove assign. That Small Stellated Dodecahedron looks horrible! I've a new version which works on polyhedral forms in user space without CSG operations and supports Conway operations that I'll put up RSN. runsun, I'm looking forward to your new libraries so I can do even more on polyhedra, particularly to see if I can do crystal stuff using Miller indexes in user space Kit -- View this message in context: http://forum.openscad.org/kit-wallace-files-are-compiling-wrong-tp13897p13923.html Sent from the OpenSCAD mailing list archive at Nabble.com.
R
runsun
Sun, Sep 20, 2015 10:39 PM

Just checked info about Miller Index. Cool thing. A very good way to describe
plane, which could be very useful.

One item on my to-do list is to build a chemistry.scad lib. In fact, it's
already easy for my lib to generate, for example, a benzene molecule --- the
first 3 lines to generate points, the next 2 to display:

http://forum.openscad.org/file/n13933/29150920_bezene.png

which is made with 5 lines of code:

pqr=pqr();    
pts = circlePts( pqr, n=6,rad=3);
ringPts = circlePts( pqr, n=48,rad=1.8); 

MarkPts( pts, ["r=0.5;color=black",

"chain",["closed",true,"nside",24,"color",undef,"r",0.2] ] );
MarkPts( ringPts, ["ball=0",
"chain",["closed",true,"nside",24,"color",undef,"r",0.2] ] );

I can picture this to be a very good tool for chemistry education. Lets talk
more about the Miller Index once my lib is ready.


$  Runsun Pan, PhD

$ -- libs: doctest , faces ( git ), offliner ( git );

tips: hash( 1 , 2 ), sweep , var , lerp

$ -- Linux Mint 17.1 Rebecca x64  + OpenSCAD 2015.03.15/2015.04.01.nightly

--
View this message in context: http://forum.openscad.org/kit-wallace-files-are-compiling-wrong-tp13897p13933.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Just checked info about Miller Index. Cool thing. A very good way to describe plane, which could be very useful. One item on my to-do list is to build a chemistry.scad lib. In fact, it's already easy for my lib to generate, for example, a benzene molecule --- the first 3 lines to generate points, the next 2 to display: <http://forum.openscad.org/file/n13933/29150920_bezene.png> which is made with 5 lines of code: > pqr=pqr(); > pts = circlePts( pqr, n=6,rad=3); > ringPts = circlePts( pqr, n=48,rad=1.8); > > MarkPts( pts, ["r=0.5;color=black", > "chain",["closed",true,"nside",24,"color",undef,"r",0.2] ] ); > MarkPts( ringPts, ["ball=0", > "chain",["closed",true,"nside",24,"color",undef,"r",0.2] ] ); I can picture this to be a very good tool for chemistry education. Lets talk more about the Miller Index once my lib is ready. ----- $ Runsun Pan, PhD $ -- libs: doctest , faces ( git ), offliner ( git ); tips: hash( 1 , 2 ), sweep , var , lerp $ -- Linux Mint 17.1 Rebecca x64 + OpenSCAD 2015.03.15/2015.04.01.nightly -- View this message in context: http://forum.openscad.org/kit-wallace-files-are-compiling-wrong-tp13897p13933.html Sent from the OpenSCAD mailing list archive at Nabble.com.
U
ufomorace
Mon, Sep 21, 2015 8:08 AM

Kit that page is legendary, makes me want to put all the files in a game
engine and play geometric billiards and make some viewing environments for
them. cool.

--
View this message in context: http://forum.openscad.org/kit-wallace-files-are-compiling-wrong-tp13897p13948.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Kit that page is legendary, makes me want to put all the files in a game engine and play geometric billiards and make some viewing environments for them. cool. -- View this message in context: http://forum.openscad.org/kit-wallace-files-are-compiling-wrong-tp13897p13948.html Sent from the OpenSCAD mailing list archive at Nabble.com.
U
ufomorace
Sun, Sep 27, 2015 11:56 AM

This page with a conway operator in openscad is crashing the program totally
when running a preview mesh, openscad runs and echos some values and then
the program is closed by windows.

https://github.com/KitWallace/openscad/blob/master/conway.scad

--
View this message in context: http://forum.openscad.org/kit-wallace-files-are-compiling-wrong-tp13897p14015.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

This page with a conway operator in openscad is crashing the program totally when running a preview mesh, openscad runs and echos some values and then the program is closed by windows. https://github.com/KitWallace/openscad/blob/master/conway.scad -- View this message in context: http://forum.openscad.org/kit-wallace-files-are-compiling-wrong-tp13897p14015.html Sent from the OpenSCAD mailing list archive at Nabble.com.
K
kitwallace
Sun, Sep 27, 2015 3:56 PM

That's odd, it works fine for me, rendering a solid-edge (shell)
tetrahedron.  ( on openSCAD version 2015-06-14 on a Windows 7 machine.)

On Sun, Sep 27, 2015 at 12:56 PM, ufomorace [via OpenSCAD] <
ml-node+s1091067n14015h57@n5.nabble.com> wrote:

--
View this message in context: http://forum.openscad.org/kit-wallace-files-are-compiling-wrong-tp13897p14016.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

That's odd, it works fine for me, rendering a solid-edge (shell) tetrahedron. ( on openSCAD version 2015-06-14 on a Windows 7 machine.) On Sun, Sep 27, 2015 at 12:56 PM, ufomorace [via OpenSCAD] < ml-node+s1091067n14015h57@n5.nabble.com> wrote: > This page with a conway operator in openscad is crashing the program > totally when running a preview mesh, openscad runs and echos some values > and then the program is closed by windows. > > https://github.com/KitWallace/openscad/blob/master/conway.scad > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://forum.openscad.org/kit-wallace-files-are-compiling-wrong-tp13897p14015.html > To unsubscribe from kit wallace files are compiling wrong, click here > <http://forum.openscad.org/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=13897&code=a2l0LndhbGxhY2VAZ21haWwuY29tfDEzODk3fDE3Nzk2Mzg2MzQ=> > . > NAML > <http://forum.openscad.org/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- View this message in context: http://forum.openscad.org/kit-wallace-files-are-compiling-wrong-tp13897p14016.html Sent from the OpenSCAD mailing list archive at Nabble.com.
TP
Torsten Paul
Sun, Sep 27, 2015 4:07 PM

On 09/27/2015 05:56 PM, kitwallace wrote:

That's odd, it works fine for me, rendering a solid-edge (shell)
tetrahedron.  ( on openSCAD version 2015-06-14 on a Windows 7 machine.)

Looks like it triggers a bug that was fixed after the release. It
crashes with 2015.03-1 but works fine with the latest dev version.

ciao,
Torsten.

On 09/27/2015 05:56 PM, kitwallace wrote: > That's odd, it works fine for me, rendering a solid-edge (shell) > tetrahedron. ( on openSCAD version 2015-06-14 on a Windows 7 machine.) > Looks like it triggers a bug that was fixed after the release. It crashes with 2015.03-1 but works fine with the latest dev version. ciao, Torsten.