New Release of OpenSCAD, soon - please test

classic Classic list List threaded Threaded
17 messages Options
Reply | Threaded
Open this post in threaded view
|

New Release of OpenSCAD, soon - please test

MichaelAtOz
Administrator
If you have been following GitHub developments, you may have noticed that a
new OpenSCAD Release is in the works, to follow the last magnificent 2015
Release.

So with great anticipation, we have a shiny new *Release Candidate!*

You may have noticed on the  Downloads page under Snapshots
<http://www.openscad.org/downloads.html#snapshots>  , a little thing,
*OpenSCAD-2019.01-RC2*, available for Windows & Linux.
That's *Release Candidate 2!*
(The Mac Snapshot is also RC2 but with a couple of Mac specifics, so is not
technically labelled RC2).

You can help to ensure a better final release by giving the Release
Candidate a spin with your more complex models.
Please report any issue here, or on GitHub if you're sure it's a bug and you
have access.

The changes are listed  here
<https://github.com/openscad/openscad/blob/master/releases/2019.02.md>  .

If you have been using the current Release 2015.03 you have a bunch of new &
interesting things to explore. Please give them a try.

Also note that there is now /significant syntax checking/ with Warning
Messages,
so if you have been using some dodgy methods don't get a shock the first
time you compile.
Even the best of us has discovered a few termites lurking.




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

* click on my MichaelAtOz label, there is a link to email me.

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!
--
Sent from: http://forum.openscad.org/

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Admin - email* me if you need anything,
or if I've done something stupid...
* click on my MichaelAtOz label, there is a link to email me.

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!
Reply | Threaded
Open this post in threaded view
|

Re: New Release of OpenSCAD, soon - please test

ClintGoss
Could you advise folks who don't routinely work with development installs ... is it
straightforward to install a second OpenSCAD and switch between the two?

Is it "safe" to run a second install (i.e. without destroying the *beloved* 2015.03 install)?
 

-- Clint Goss


On Sun, Feb 24, 2019 at 5:46 PM MichaelAtOz <[hidden email]> wrote:
If you have been following GitHub developments, you may have noticed that a
new OpenSCAD Release is in the works, to follow the last magnificent 2015
Release.

So with great anticipation, we have a shiny new *Release Candidate!*

You may have noticed on the  Downloads page under Snapshots
<http://www.openscad.org/downloads.html#snapshots>  , a little thing,
*OpenSCAD-2019.01-RC2*, available for Windows & Linux.
That's *Release Candidate 2!*
(The Mac Snapshot is also RC2 but with a couple of Mac specifics, so is not
technically labelled RC2).

You can help to ensure a better final release by giving the Release
Candidate a spin with your more complex models.
Please report any issue here, or on GitHub if you're sure it's a bug and you
have access.

The changes are listed  here
<https://github.com/openscad/openscad/blob/master/releases/2019.02.md>  .

If you have been using the current Release 2015.03 you have a bunch of new &
interesting things to explore. Please give them a try.

Also note that there is now /significant syntax checking/ with Warning
Messages,
so if you have been using some dodgy methods don't get a shock the first
time you compile.
Even the best of us has discovered a few termites lurking.




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

* click on my MichaelAtOz label, there is a link to email me.

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!
--
Sent from: http://forum.openscad.org/

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
-- Clint Goss <clint@goss.com>
Reply | Threaded
Open this post in threaded view
|

Re: New Release of OpenSCAD, soon - please test

MichaelAtOz
Administrator
On Windows
------------
I recommend downloading the zip snapshot.
Unzip into your 'C:\Program Files' [the appropriate one depending on
32/64bit].
'Copy' the openscad.exe and paste a shortcut either on your desktop or in
'programs' under your start menu.

They co-exist.

You can use the installer, when it asks for the destination folder, add a
suffix, make it ...openscad-rc2.
That will however make the RC the default, but 2015.03 will still be in
Program Files\openscad, you can do the same copy/paste-shortcut to create a
start menu/desktop entry called eg OpenSCAD-2015.

You can always run the 2015.03 installer again to get back to how it was.

On Linux/Mac
-------------
Sorry, I'm not up to speed here. Someone else will hopefully contribute.




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

* click on my MichaelAtOz label, there is a link to email me.

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!
--
Sent from: http://forum.openscad.org/

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Admin - email* me if you need anything,
or if I've done something stupid...
* click on my MichaelAtOz label, there is a link to email me.

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!
Reply | Threaded
Open this post in threaded view
|

Re: New Release of OpenSCAD, soon - please test

JohnB
MichaelAtOz wrote
> On Linux/Mac
> -------------
> Sorry, I'm not up to speed here. Someone else will hopefully contribute.

Download the AppImage, double click on it, and choose to execute as a
program. You can run as many different versions as you want. It works for me
on Linux Mint anyway.




--
Sent from: http://forum.openscad.org/

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: New Release of OpenSCAD, soon - please test

RobWLakes
Yes, this works on Ubuntu Mate as well, and fixed a tricky graphics library problem for me too.
Rob
Cheers, RobW

On 26 February 2019 9:51:51 am AEDT, JohnB <[hidden email]> wrote:
MichaelAtOz wrote
On Linux/Mac
Sorry, I'm not up to speed here. Someone else will hopefully contribute.

Download the AppImage, double click on it, and choose to execute as a
program. You can run as many different versions as you want. It works for me
on Linux Mint anyway.




--
Sent from: http://forum.openscad.org/
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Rob W
Lake Tyers Beach,
Victoria, Australia
Reply | Threaded
Open this post in threaded view
|

Re: New Release of OpenSCAD, soon - please test

WLarmon
In reply to this post by MichaelAtOz
MichaelAtOz wrote
> You can help to ensure a better final release by giving the Release
> Candidate a spin with your more complex models.
> Please report any issue here, or on GitHub if you're sure it's a bug and
> you
> have access.

(First post to this list.)

I've been using the release candidate for several months, namely to get the
Customizer.  And to be able to export to .3mf

The Customizer works well with only minor problems, mostly having to do with
figuring out how to hide variables I don't want to expose (I eventually
figured out that defining a module stopped exposing variables after the
module.)

I use .3mf files with FlashForge FlashPrint with no problems.  MeshMixer
seems a lot happier with .3mf files than it does with .stl files.


> Also note that there is now /significant syntax checking/ with Warning
> Messages,
> so if you have been using some dodgy methods don't get a shock the first
> time you compile.
> Even the best of us has discovered a few termites lurking.

I was surprised the first time I saw the I saw the new syntax messages but
quickly realized that they were valid warnings, so I fixed my code until the
warnings went away.

I'm glad that the release candidate is approaching release.  I've been
wondering all along why it wasn't released.



--
Sent from: http://forum.openscad.org/

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: New Release of OpenSCAD, soon - please test

tjhowse
As a long-time lurker of this mailing list: Thank you very much to everyone working on and testing this release! You're all champions in my book.

On Tue, 26 Feb 2019 at 11:52, WLarmon <[hidden email]> wrote:
MichaelAtOz wrote
> You can help to ensure a better final release by giving the Release
> Candidate a spin with your more complex models.
> Please report any issue here, or on GitHub if you're sure it's a bug and
> you
> have access.

(First post to this list.)

I've been using the release candidate for several months, namely to get the
Customizer.  And to be able to export to .3mf

The Customizer works well with only minor problems, mostly having to do with
figuring out how to hide variables I don't want to expose (I eventually
figured out that defining a module stopped exposing variables after the
module.)

I use .3mf files with FlashForge FlashPrint with no problems.  MeshMixer
seems a lot happier with .3mf files than it does with .stl files.


> Also note that there is now /significant syntax checking/ with Warning
> Messages,
> so if you have been using some dodgy methods don't get a shock the first
> time you compile.
> Even the best of us has discovered a few termites lurking.

I was surprised the first time I saw the I saw the new syntax messages but
quickly realized that they were valid warnings, so I fixed my code until the
warnings went away.

I'm glad that the release candidate is approaching release.  I've been
wondering all along why it wasn't released.



--
Sent from: http://forum.openscad.org/

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: New Release of OpenSCAD, soon - please test

nophead
In reply to this post by WLarmon
The official way to hide variables from the customiser is this:

/* [Hidden] */

Anything after is hidden.

On Tue, 26 Feb 2019 at 01:52, WLarmon <[hidden email]> wrote:
MichaelAtOz wrote
> You can help to ensure a better final release by giving the Release
> Candidate a spin with your more complex models.
> Please report any issue here, or on GitHub if you're sure it's a bug and
> you
> have access.

(First post to this list.)

I've been using the release candidate for several months, namely to get the
Customizer.  And to be able to export to .3mf

The Customizer works well with only minor problems, mostly having to do with
figuring out how to hide variables I don't want to expose (I eventually
figured out that defining a module stopped exposing variables after the
module.)

I use .3mf files with FlashForge FlashPrint with no problems.  MeshMixer
seems a lot happier with .3mf files than it does with .stl files.


> Also note that there is now /significant syntax checking/ with Warning
> Messages,
> so if you have been using some dodgy methods don't get a shock the first
> time you compile.
> Even the best of us has discovered a few termites lurking.

I was surprised the first time I saw the I saw the new syntax messages but
quickly realized that they were valid warnings, so I fixed my code until the
warnings went away.

I'm glad that the release candidate is approaching release.  I've been
wondering all along why it wasn't released.



--
Sent from: http://forum.openscad.org/

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: New Release of OpenSCAD, soon - please test

WLarmon
nophead wrote
> The official way to hide variables from the customiser is this:
>
> /* [Hidden] */
>
> Anything after is hidden.

With all due respect, this does not work.  I just double checked and I have
a bunch of variables visible in the Customizer after using

/* [hidden] */

But no variables are visible after I define

module hidden() { }

(or define any other module.)





--
Sent from: http://forum.openscad.org/

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
tp3
Reply | Threaded
Open this post in threaded view
|

Re: New Release of OpenSCAD, soon - please test

tp3
On 26.02.19 22:49, WLarmon wrote:

> nophead wrote
>> The official way to hide variables from the customiser is this:
>>
>> /* [Hidden] */
>>
>> Anything after is hidden.
>
> With all due respect, this does not work.  I just double checked and I have
> a bunch of variables visible in the Customizer after using
>
> /* [hidden] */
>

h != H

It currently only works with upper case H, not sure what
happens on Thingiverse in that case.

ciao,
   Torsten.

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
-- Torsten
Reply | Threaded
Open this post in threaded view
|

Re: New Release of OpenSCAD, soon - please test

WLarmon
tp3 wrote

> On 26.02.19 22:49, WLarmon wrote:
>> nophead wrote
>>> The official way to hide variables from the customiser is this:
>>>
>>> /* [Hidden] */
>>>
>>> Anything after is hidden.
>>
>> With all due respect, this does not work.  I just double checked and I
>> have
>> a bunch of variables visible in the Customizer after using
>>
>> /* [hidden] */
>>
>
> h != H
>
> It currently only works with upper case H, not sure what
> happens on Thingiverse in that case.

Sorry.  I just corrected and

/* [Hidden] */

doesn't work either.





--
Sent from: http://forum.openscad.org/

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
tp3
Reply | Threaded
Open this post in threaded view
|

Re: New Release of OpenSCAD, soon - please test

tp3
On 26.02.19 22:57, WLarmon wrote:
> /* [Hidden] */
>
> doesn't work either.

It does for me, so please share the full code (well, trimmed
as much as possible) and the first couple of lines from
the Help->Library Info window.

ciao,
   Torsten.


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
-- Torsten
Reply | Threaded
Open this post in threaded view
|

Re: New Release of OpenSCAD, soon - please test

nophead
Yes works for me too. I cut and pasted from a working project. 

On Tue, 26 Feb 2019 at 22:10, Torsten Paul <[hidden email]> wrote:
On 26.02.19 22:57, WLarmon wrote:
> /* [Hidden] */
>
> doesn't work either.

It does for me, so please share the full code (well, trimmed
as much as possible) and the first couple of lines from
the Help->Library Info window.

ciao,
   Torsten.


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: New Release of OpenSCAD, soon - please test

WLarmon
nophead wrote
> Yes works for me too. I cut and pasted from a working project.
>
> On Tue, 26 Feb 2019 at 22:10, Torsten Paul &lt;

> Torsten.Paul@

> &gt; wrote:
>
>> On 26.02.19 22:57, WLarmon wrote:
>> > /* [Hidden] */
>> >
>> > doesn't work either.
>>
>> It does for me, so please share the full code (well, trimmed
>> as much as possible) and the first couple of lines from
>> the Help->Library Info window.
>>
>> ciao,
>>    Torsten.

A section of the code

// Extrude springclamp_height on the handle?
label_springclamp = "true"; // [true,false]

/* [Hidden] */

// *This* stops variables from showing up in the Customizer
// (Actually any module definition stops them)
//module hidden() { }

/* {Film size options} */
// What is the slide format?  (Anything other than "film6x6", exactly, means
35mm or 110 (Instamatic).)
// We support both slides and negatives.  "film6x6 is 6x6cm slides or 120
film negative
// Not film6x6 could be either 35mm slides or negatives, or 110 (Instamatic)
negative.
//120 film/mounted 6x6cm slides or 35mm/110 negatives
//film = "film35"; // [film6x6:120 film or mounted 6x6cm slides,film35:35mm
(or 110) slides or negatives]
// outsideoffronttube must not be "true" if you use film6x6 and fronttube;
// (outsideoffronttube was designed for the edge case of making a short
front tube that fits on the outside
// of a real Xtend-a-Slide.
//
// Well and for making PVC end brackets.  So it isn't such an edge case
after all.   Sorry for the cross-confusion
// The PVC code is only for 35mm and does does *not* support film6x6x (120
film)

//is110 = "false"; // [true:Is 110 film? And 'film' must be 35mm.,false:not
110 (i.e. 35mm)]

film = (Film_size == "film6x6") ? "film6x6" : "film35" ;

Help -> Library info

OpenSCAD Version: 2019.01-RC2 (git 35858ead)
System information: Windows(TM) 10.0 SP 0.0 NTW 1 MSDN 724833 8 CPUs 15.85
GB RAM
User Agent: OpenSCAD/2019.01-RC2 (git 35858ead) (Windows(TM) 10.0 SP 0.0 NTW
1 MSDN 724833)
Compiler: GCC "7.3.0" 64bit

My code is 50+ pages long so you probably don't want me to paste it in its
entirety

The full code is at

http://www.frogymandias.org/3-d/index.html
<http://www.frogymandias.org/3-d/index.html>  



--
Sent from: http://forum.openscad.org/

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
tp3
Reply | Threaded
Open this post in threaded view
|

Re: New Release of OpenSCAD, soon - please test

tp3
The /* [Hidden] */ is just a group marker, it does not
100% stop detection after it. It's the

/* {Film size options} */

comment which resets things even though it's not a real
group definition. I'd see that as bug right now, but we
probably want to check how Thingiverse behaves.

The empty module is a hard stop for the customizer
parameter detection, so regardless of what's coming
after it, it's ignored.

ciao,
   Torsten.

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
-- Torsten
Reply | Threaded
Open this post in threaded view
|

Re: New Release of OpenSCAD, soon - please test

WLarmon
tp3 wrote
> The /* [Hidden] */ is just a group marker, it does not
> 100% stop detection after it. It's the
>
> /* {Film size options} */
>
> comment which resets things even though it's not a real
> group definition. I'd see that as bug right now, but we
> probably want to check how Thingiverse behaves.

The curly braces are placeholders from when I was trying to see what was
going on with

/* [Hidden] */

I was toggling them from curly braces to square braces.

My code is legacy code.  I've been working on the same project for several
years.  It really has four or five different projects in it.  But at this
point (50 + pages) it is too difficult to extract the most recent project
without breaking something.  Right now I test for everything that is exposed
in the Customizer and ignore the rest.  Shrug.


> The empty module is a hard stop for the customizer
> parameter detection, so regardless of what's coming
> after it, it's ignored.

I consider the [Hidden] thing to be a minor issue.  All the complicated
parts of the Customizer and the new warning syntax errors seem to work well.

I hope my initial posts aren't coming off as confrontational.  I like
OpenSCAD a lot.




--
Sent from: http://forum.openscad.org/

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: New Release of OpenSCAD, soon - please test

Stephan Hennig-2
In reply to this post by MichaelAtOz
Am 24.02.2019 um 23:41 schrieb MichaelAtOz:

> Please report any issue here, or on GitHub if you're sure it's a bug and you
> have access.
>
> [...]
>
> Also note that there is now /significant syntax checking/ with Warning
> Messages,

Regarding syntax checking, the following code outputs an odd waring


function somefunc(size) = 2 * size;
a = somefunc(size = 1, type = "foo");


> $ openscad-nightly -o out.stl bug-1.scad
> WARNING: variable type not specified as parameter, in file bug-1.scad, line 3
> Current top level object is empty.

Formatting could perhaps be improved to more easily tell variable names
from the actual warning text.  Like wrapping the variable name in
quotes, angle brackets, something like that.

Best regards,
Stephan Hennig


> $ openscad-nightly --version
> OpenSCAD version 2019.02.28.nightly

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org