OpenSCAD release: 2013.01

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

OpenSCAD release: 2013.01

kintel
Administrator
Dear OpenSCAD users and developers,

I've just released OpenSCAD 2013.01. The source package as well as the Mac OS X binaries can be downloaded from http://openscad.org. Binaries for Linux and Windows will appear when the package managers get them built and tested.

Thanks a lot to all contributors - there has been significant contributions, especially towards build systems and automated testing!

Summary of changes in this release:

Features:
o Snappier GUI while performing CGAL computations (computations running in separate thread)
o The size of the misc. caches can now be adjusted from Preferences
o The limit for when to disable OpenCSG can now be adjusted from Preferences
o Added Dot product operator: vec * vec
o Added Matrix multiplication operator: vec * mat, mat * mat
o Added search() function
o Dependencies are now tracked - any changes in uses/included files will be detected and cause a recompile
o The OPENSCADPATH environment variable is now implemented will have precedence when searching for libraries
o .csg files can now be opened from the GUI
o linear_extrude() will now assume that the first parameter means 'height' if it's a number

Bugfixes:
o use'ing an non-existing file sometimes crashed under Windows
o Better font handling: Ensure a monospace font is chosen as default
o Division by zero caused hang in some cases (e.g. sin(1/0))
o Larger minkowski operations sometimes caused a crash after a CGAL assert was thrown
o Fixed crashes in shared_ptr.hpp (or similar places) due bugs in cache management and CSG normalization
o scale() with a scale factor of zero could cause a crash
o Fixed a number of issues related to use/include
o Providing an unknown parameter on the cmd-line caused a crash
o cmd-line overrides using -D now also work for USEd modules
o Modifier characters can now be used in front of if statements
o rotate() with a vector argument with less that 3 elements used uninitialized variables, ending up being non-deterministic.
o .csg files will now have relative filenames whenever possible
o Don't just ignore geometric nodes having zero volume/area - when doing difference/intersection, they tend to turn negative objects into positive ones.
o Always use utf-8 file encoding, also under Windows
o A lot of build script fixes
o Some other crash bugs fixes

Deprecations:
o The old include syntax "<filename.scad>" without the include keyword is no longer supported and will cause a syntax error.

Have fun,

-Marius

signature.asc (203 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

fresh debian packages (was: Re: OpenSCAD release: 2013.01)

chrysn
hello openscad users,

On Thu, Jan 17, 2013 at 03:43:21PM -0500, Marius Kintel wrote:
> I've just released OpenSCAD 2013.01.

with some delay, there are now debian packages for the latest openscad
release.

they are not in unstable yet due to build problems on bsd and the
ongoing wheezy freeze. you can install them by enabling the experimental
repository, or by fetching them from [1] (especially for non-debian
users).

i don't have a current ubuntu testing system at hand, but given the
dependency versions, the packages should work for ubuntu just as well --
feedback of ubuntu users would be appreciated.

best regards
chrysn

[1] http://packages.debian.org/experimental/openscad

--
To use raw power is to make yourself infinitely vulnerable to greater powers.
  -- Bene Gesserit axiom

signature.asc (836 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: fresh debian packages (was: Re: OpenSCAD release: 2013.01)

donbright
Thank you that is awesome.



On Thu, Feb 21, 2013 at 6:25 AM, chrysn <[hidden email]> wrote:

> hello openscad users,
>
> On Thu, Jan 17, 2013 at 03:43:21PM -0500, Marius Kintel wrote:
>> I've just released OpenSCAD 2013.01.
>
> with some delay, there are now debian packages for the latest openscad
> release.
>
> they are not in unstable yet due to build problems on bsd and the
> ongoing wheezy freeze. you can install them by enabling the experimental
> repository, or by fetching them from [1] (especially for non-debian
> users).
>
> i don't have a current ubuntu testing system at hand, but given the
> dependency versions, the packages should work for ubuntu just as well --
> feedback of ubuntu users would be appreciated.
>
> best regards
> chrysn
>
> [1] http://packages.debian.org/experimental/openscad
>
> --
> To use raw power is to make yourself infinitely vulnerable to greater powers.
>   -- Bene Gesserit axiom
>
> _______________________________________________
> OpenSCAD mailing list
> [hidden email]
> http://rocklinux.net/mailman/listinfo/openscad
> http://openscad.org - https://flattr.com/thing/121566

Reply | Threaded
Open this post in threaded view
|

Re: fresh debian packages (was: Re: OpenSCAD release: 2013.01)

donbright
In reply to this post by chrysn
Hi Chrysn

After looking at
https://buildd.debian.org/status/logs.php?pkg=openscad&ver=2013.01%2Bdfsg-1
and your previous comments on eigen build problems, I think a fix for
the build on kfreebsd might possibly be to add this line to eigen.pri,
at line 62 (just before "# disable Eigen SIMD ....")

!exists($$EIGEN_INCLUDEPATH/Eigen/Core) {
  EIGEN_CFLAGS = $$system("pkg-config --cflags eigen2")
  EIGEN_INCLUDEPATH = $$replace(EIGEN_CFLAGS,"-I","")
}

If it works I will try to get this patched into the git master soon.
Thanks again

-DB




On Thu, Feb 21, 2013 at 6:25 AM, chrysn <[hidden email]> wrote:

> hello openscad users,
>
> On Thu, Jan 17, 2013 at 03:43:21PM -0500, Marius Kintel wrote:
>> I've just released OpenSCAD 2013.01.
>
> with some delay, there are now debian packages for the latest openscad
> release.
>
> they are not in unstable yet due to build problems on bsd and the
> ongoing wheezy freeze. you can install them by enabling the experimental
> repository, or by fetching them from [1] (especially for non-debian
> users).
>
> i don't have a current ubuntu testing system at hand, but given the
> dependency versions, the packages should work for ubuntu just as well --
> feedback of ubuntu users would be appreciated.
>
> best regards
> chrysn
>
> [1] http://packages.debian.org/experimental/openscad
>
> --
> To use raw power is to make yourself infinitely vulnerable to greater powers.
>   -- Bene Gesserit axiom
>
> _______________________________________________
> OpenSCAD mailing list
> [hidden email]
> http://rocklinux.net/mailman/listinfo/openscad
> http://openscad.org - https://flattr.com/thing/121566

Reply | Threaded
Open this post in threaded view
|

Re: fresh debian packages (was: Re: OpenSCAD release: 2013.01)

chrysn
On Thu, Feb 21, 2013 at 07:12:50PM -0600, Don Bright wrote:

> After looking at
> https://buildd.debian.org/status/logs.php?pkg=openscad&ver=2013.01%2Bdfsg-1
> and your previous comments on eigen build problems, I think a fix for
> the build on kfreebsd might possibly be to add this line to eigen.pri,
> at line 62 (just before "# disable Eigen SIMD ....")
>
> !exists($$EIGEN_INCLUDEPATH/Eigen/Core) {
>   EIGEN_CFLAGS = $$system("pkg-config --cflags eigen2")
>   EIGEN_INCLUDEPATH = $$replace(EIGEN_CFLAGS,"-I","")
> }
>
> If it works I will try to get this patched into the git master soon.
thanks a bunch, that solves most of the problem. the rest should go away
if i feed -DEIGEN_INCLUDE_DIR from pkgconf to the tests/ cmake again.

one more question: i can choose between building for eigen2 or eigen3.
are they fully interchangable as far as openscad is concerned? should i
take the upper bound of "2.0.13 -> 3.1.1" seriously? if so, i'll stick
with version 2 for the time being; it's widely available, won't cause
problems with backports, and as long as there are no features that
depend on eigen3, there's hardly anything to gain.


i'll drop a line if further problems arise or the packages are in
stable.

thanks again
chrysn

--
Es ist nicht deine Schuld, dass die Welt ist, wie sie ist -- es wär' nur deine
Schuld, wenn sie so bleibt.
(You are not to blame for the state of the world, but you would be if that
state persisted.)
  -- Die Ärzte

signature.asc (836 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: fresh debian packages (was: Re: OpenSCAD release: 2013.01)

donbright
On Sat, Feb 23, 2013 at 8:23 AM, chrysn <[hidden email]> wrote:

> On Thu, Feb 21, 2013 at 07:12:50PM -0600, Don Bright wrote:
>> After looking at
>> https://buildd.debian.org/status/logs.php?pkg=openscad&ver=2013.01%2Bdfsg-1
>> and your previous comments on eigen build problems, I think a fix for
>> the build on kfreebsd might possibly be to add this line to eigen.pri,
>> at line 62 (just before "# disable Eigen SIMD ....")
>>
>> !exists($$EIGEN_INCLUDEPATH/Eigen/Core) {
>>   EIGEN_CFLAGS = $$system("pkg-config --cflags eigen2")
>>   EIGEN_INCLUDEPATH = $$replace(EIGEN_CFLAGS,"-I","")
>> }
>>
>> If it works I will try to get this patched into the git master soon.
>
> thanks a bunch, that solves most of the problem. the rest should go away
> if i feed -DEIGEN_INCLUDE_DIR from pkgconf to the tests/ cmake again.
>
> one more question: i can choose between building for eigen2 or eigen3.
> are they fully interchangable as far as openscad is concerned? should i
> take the upper bound of "2.0.13 -> 3.1.1" seriously? if so, i'll stick
> with version 2 for the time being; it's widely available, won't cause
> problems with backports, and as long as there are no features that
> depend on eigen3, there's hardly anything to gain.
>
>
> i'll drop a line if further problems arise or the packages are in
> stable.
>
> thanks again
> chrysn
>
> --
> Es ist nicht deine Schuld, dass die Welt ist, wie sie ist -- es wär' nur deine
> Schuld, wenn sie so bleibt.
> (You are not to blame for the state of the world, but you would be if that
> state persisted.)
>   -- Die Ärzte
>
> _______________________________________________
> OpenSCAD mailing list
> [hidden email]
> http://rocklinux.net/mailman/listinfo/openscad
> http://openscad.org - https://flattr.com/thing/121566


Eigen3 support was included because of issues with Mac OSX and Clang
not working with Eigen2 (if i remember correctly). So it supports both
eigen2 and eigen3. There are a handful of lines of code that had to be
#ifdef but otherwise it should all be exactly the same, and to my
knowledge there is no advantage of using eigen3 over eigen2 as far as
OpenSCAD goes.

Eventually i will try to merge in pkgconfig for eigen for the
cmakefile as well. (and to have it choose/detect versions). Thanks

-DB

Reply | Threaded
Open this post in threaded view
|

Re: fresh debian packages (was: Re: OpenSCAD release: 2013.01)

chrysn
In reply to this post by chrysn
On Thu, Feb 21, 2013 at 01:25:09PM +0100, chrysn wrote:
> they are not in unstable yet due to build problems on bsd and the
> ongoing wheezy freeze.

the build problems have been solved with don bright's help, and now
there are

  openscad 2013.01 packages in debian unstable[1].

the upcoming debian 7 "wheezy" will still contain the old 2011.12
version (as it is far too late for new versions to enter now), but there
will be a backport of 2013.01 to wheezy when wheezy is open for
backports.

best regards
chrysn

[1] http://packages.debian.org/sid/openscad

signature.asc (836 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: fresh debian packages (was: Re: OpenSCAD release: 2013.01)

chrysn
On Tue, Feb 26, 2013 at 01:25:00PM +0100, chrysn wrote:
>   openscad 2013.01 packages in debian unstable[1].

one -- hopefully final -- update on this release:

the packages in the ubuntu ppa[1] are rebuilt for all ubuntu versions
that have desktop support for more than two more months (ie precise,
quantal and raring).

i don't have ubuntu systems at hand to test them, but experience says
that if things work in debian and build in ubuntu, they work there too.

best regards
chrysn

[1] https://launchpad.net/~chrysn/+archive/openscad

signature.asc (836 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: fresh debian packages (was: Re: OpenSCAD release: 2013.01)

Kevin Crowley
Chrysn,  It just updated automatically for me and seems to be functional.  Thanks.

On Thu, Feb 28, 2013 at 4:17 PM, chrysn <[hidden email]> wrote:
On Tue, Feb 26, 2013 at 01:25:00PM +0100, chrysn wrote:
>   openscad 2013.01 packages in debian unstable[1].

one -- hopefully final -- update on this release:

the packages in the ubuntu ppa[1] are rebuilt for all ubuntu versions
that have desktop support for more than two more months (ie precise,
quantal and raring).

i don't have ubuntu systems at hand to test them, but experience says
that if things work in debian and build in ubuntu, they work there too.

best regards
chrysn

[1] https://launchpad.net/~chrysn/+archive/openscad

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566