summaryrefslogtreecommitdiff
path: root/cad/openscad
AgeCommit message (Collapse)AuthorFilesLines
2019-06-22(cad/openscad) Updated 2015.03-3 to 2019.05 (Re: PR pkg/54302)mef7-93/+56
# OpenSCAD 2019.05 **Language Features:** * New modules * assert() - stop script evaluation on failed constraints * let() - scoped assignment * New functions * ord() - convert from character to Unicode code point * echo() * assert() - stop script evaluation on failed constraints * Type testing functions: is_undef(), is_list(), is_num(), is_bool(), is_string() * New special variable: $preview variable which is set to true in preview mode * List comprehension updates * Added if/else condition * Added each keyword * Added C-style for loop * Now allows looping over characters of a string * rotate_extrude(): Added angle parameter to * import() now supports SVG, 3MF and AMF * color() now supports hex color codes * Removed glide() and subdiv() which were never implemented **Program Features:** * Customizer: Allow parametrizing design parameters with GUI customization * Support for using 3D-Mouse / Joystick / Gamepad input devices for controlling the 3D view * 3D Printing support: Purchase from a print service partner or print to Octoprint * New export file formats: SVG, 3MF, AMF * Quick-edit and preview of values using Alt-Arrows (Shift-Alt-Arrows on macOS) * Added --view cmd-line parameter * Play sound notification on render complete * Line numbers and filenames are now shown for many errors and warnings * Hardwarning preference: Stop on first warning * Hardwarning and assert now shows a stack trace * New warnings * Module call parameterns don't match module declaration * Argument value of of range * Duplicate passed argument * Children passed to module not accepting children * Reference to inknown $special_variables * Duplicate assigment * New translations: Ukrainian, Polish
2019-06-08cad/*: let pkglint fix indentation, variable alignment, and LOCALBASErillig1-2/+2
pkglint -Wall -r -F cad Manually fixed the indentation in cad/ghdl/Makefile because SITES.* was (by the current definition) not long enough to count as an outlier line, and because of this, all other lines were aligned to that line.
2019-06-03Fix build with newer booostbouyer2-1/+16
2019-05-29Revbump after updating graphics/glewadam1-2/+2
2019-04-25PKGREVISION bump for anything using python without a PYPKGPREFIX.maya1-2/+2
This is a semi-manual PKGREVISION bump.
2018-12-13revbump for boost 1.69.0adam1-2/+2
2018-11-12Recursive revbump from hardbuzz-2.1.1ryoon1-2/+2
2018-08-16revbump after boost-libs updateadam1-2/+2
2018-04-29revbump for boost-libs updateadam1-2/+2
2018-03-12Recursive bumps for fontconfig and libzip dependency changes.wiz1-2/+2
2018-01-28recursive bump after mpfr shlib major bumpwiz1-2/+2
2018-01-01Revbump after boost updateadam1-2/+2
2017-12-22fix build on NetBSD-8; the qt4 qmake puts in =std=c++98 by defaultplunky1-2/+3
but this need c++0x at least (this fixes only with gcc; clang build claims that CGAL needs updating)
2017-08-24Revbump for boost updateadam1-2/+2
2017-04-30Recursive revbump from boost updateryoon1-2/+2
2017-02-12Recursive revbump from fonts/harfbuzzryoon1-2/+2
2017-02-06Recursive bump for harfbuzz's new graphite2 dependency.wiz1-2/+2
2017-01-01Revbump after boost updateadam1-1/+2
2016-12-16# OpenSCAD 2015.03plunky2-9/+8
## 2015.03-3 **OS X only: Auto-update vulnerability fix**
2016-10-07Revbump post boost updateadam1-1/+2
2016-09-25add gettext to USE_TOOLSplunky1-2/+2
2016-09-02don't need to specify EIGENDIR since eigen3 pkg-config is fixedplunky1-4/+2
2016-09-01Update OpenSCAD to 2015.03p2plunky10-149/+196
from the release notes: # OpenSCAD 2015.03 **Language Features:** * Added text() module for 2D text * Added offset() module for 2D offsets * Added list comprehensions and let() * Added concat() function * Added chr() function * surface() can now take PNG images as input * min() and max() can now take a vector argument * 2D minkowski can now handle polygons with holes * Variables can now be assigned in local blocks without using assign() **Program Features:** * Added Toolbar icons * New code editor based on QScintilla * Added Splash screen * Added SVG export * Added AMF export * Added --viewall and --autocenter cmd-line parameters * GUI is now translated into German, Czech, Spanish, French and Russian * MDI (Multiple Document Interface) is now available on all platforms * Color schemes for viewer and editor can be user-edited using JSON files * GUI components are now dockable * Added Tickmarks on axes **Bugfixes/improvements:** * Performance improvement: 2D (clipper), preview, hull, minkowski, surface * Performance improvement: Reduce duplicate evaluation of identical expressions * Better recursion behavior * STL export and import is now more robust * Internal cavities are better supported * New examples * Windows cmd-line behaves better * Better mirror() and scale() behavior when using negative factors **Deprecations:** * polyhedron() now takes a faces= argument rather than triangles= * assign() is no longer needed. Local variables can be created in any scope # OpenSCAD 2014.03 **Language Features:** * Added diameter argument: circle(d), cylinder(d, d1, d2) and sphere(d) * Added parent_module() and $parent_modules * Added children() as a replacement for child() * Unicode strings (using UTF-8) are now correctly handled * Ranges can have a negative step value * Added norm() and cross() functions **Program Features:** * Cmd-line: --info parameter prints system/library info * Cmd-line: --csglimit parameter to change CSG rendering limit * Cmd-line: Better handling of cmd-line arguments under Windows * GUI: Added Reset View * GUI: Added Search&Replace in editor * GUI: Syntax highlighting now has a dark background theme * GUI: We now create a backup file before rendering to allow for recovery if OpenSCAD crashes/freezes * GUI: Accessibility features enabled (e.g. screenreading) **Bugfixes/improvements:** * Reading empty STL files sometimes caused a crash * OPENSCADPATH now uses semicolon as path separator under Windows * polyhedron() is now much more robust handling almost planar polygons * Automatic reloads of large designs are more robust * Boolean logic in if() statements are now correctly short-circuited * rands() with zero range caused an infinite loop * resize(, auto=true) didn't work when shrinking objects * The $children variable sometimes misbehaved due to dynamic scoping * The --camera cmd-line option behaved differently then the corresponding GUI function * PNG export now doesn't leak transparency settings into the target image * Improved performance of 3D hull() operations * Some editor misbehaviors were fixed * Stability fixes of CGAL-related crashes * Windows cmd-line can now handle spaces in filenames * Default CSG rendering limit is now 100K elements * Fixed a crash reading DXF files using comma as decimal separator * Fixed a crash running the cmd-line without a HOME env. variable * Intersecting something with nothing now correctly results in an empty object **Deprecations:** * child() is no longer supported. Use children() instead. * polyhedron(triangles=[...]): Use polyhedron(faces=[...]) instead. **Misc:** * Test framework now shares more code with the GUI app * Test report can now be automatically uploaded to dinkypage.com * Better compatibility with BSD systems * Qt5 support # OpenSCAD 2013.06 **Language Features:** * linear_extrude now takes a scale parameter: linear_extrude(height=a, slices=b, twist=c, scale=[x,y]) * Recursive use of modules is now supported (including cascading child() operations): https://github.com/openscad/openscad/blob/master/examples/example024.scad * Parameter list values can now depend on earlier values, e.g. for (i=[0:2], j=[0:i]) .. * value assignments in parameters can now depend on already declared parameters * Added resize() module: http://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Transformations#resize **Program Features:** * Added basic syntax highlighting in the editor * There is now a built-in library path in user-space: http://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Libraries#Library_Locations * Commandline output to PNG, with various camera and rendering settings. Run openscad -h to see usage info or see the OpenSCAD wiki user manual. * Attempting to open dxf, off or stl files in the GUI will now create an import statement. * The preview operator (%) will now preserve any manually set color * The highlight operator (#) will now color the object in transparent red * Mac: Added document icon * Mac: Added auto-update check * Windows: Better cmd-line support using the openscad.com executable **Bugfixes:** * Importing files is now always relative to the importing script, also for libraries * We didn't always print a warning when CSG normalization created too many elements * Binary STLs can now be read on big endian architectures * Some binary STLs couldn't be read * Fixed some issues related to ARM builds * CGAL triangulation more lenient- enables partial rendering of 'bad' DXF data * The Automatic Reload feature is now more robust * If a file couldn't be saved it no longer fails silently * Fixed a number of crashes related to CGAL and OpenCSG rendering or complex models * The lookup() function had bad boundary condition behavior * The surface() module failed when the .dat file lacked a trailing newline * The hull() module could crash if any of the children were empty objects * Some problems using unicode filenames have been fixed **Misc:** * Build scripts have been further improved * Regression test now creates single monolithic .html file for easier uploading * Regression test auto-starts & stops Xvfb / Xvnc if on headless unix machine * The backend is finally independent of Qt * Windows: We now have a 64-bit version **Known Bugs:** * Linux: command-line png rendering on Gallium is flaky. Workaround: use CGAL --render or hardware rendering. # OpenSCAD 2013.01 **Features:** * Snappier GUI while performing CGAL computations (computations running in separate thread) * The size of the misc. caches can now be adjusted from Preferences * The limit for when to disable OpenCSG can now be adjusted from Preferences * Added Dot product operator: vec * vec * Added Matrix multiplication operator: vec * mat, mat * mat * Added search() function * Dependencies are now tracked - any changes in uses/included files will be detected and cause a recompile * The OPENSCADPATH environment variable is now implemented will have precedence when searching for libraries * .csg files can now be opened from the GUI * linear_extrude() will now assume that the first parameter means 'height' if it's a number **Bugfixes:** * use'ing an non-existing file sometimes crashed under Windows * Better font handling: Ensure a monospace font is chosen as default * Division by zero caused hang in some cases (e.g. sin(1/0)) * Larger minkowski operations sometimes caused a crash after a CGAL assert was thrown * Fixed crashes in shared_ptr.hpp (or similar places) due bugs in cache management and CSG normalization * scale() with a scale factor of zero could cause a crash * Fixed a number of issues related to use/include * Providing an unknown parameter on the cmd-line caused a crash * cmd-line overrides using -D now also work for USEd modules * Modifier characters can now be used in front of if statements * rotate() with a vector argument with less that 3 elements used uninitialized variables, ending up being non-deterministic. * .csg files will now have relative filenames whenever possible * Don't just ignore geometric nodes having zero volume/area - when doing difference/intersection, they tend to turn negative objects into positive ones. * Always use utf-8 file encoding, also under Windows * A lot of build script fixes * Some other crash bugs fixes **Deprecations:** * The old include syntax "<filename.scad>" without the include keyword is no longer supported and will cause a syntax error.
2016-03-05Bump PKGREVISION for security/openssl ABI bump.jperkin1-2/+2
2015-11-03Add SHA512 digests for distfiles for cad categoryagc1-1/+2
Problems found with existing distfile for eagle: distfiles/eagle-lin32-7.4.0.run No changes made to eagle/distinfo file. Otherwise, existing SHA1 digests verified and found to be the same on the machine holding the existing distfiles (morden). All existing SHA1 digests retained for now as an audit trail.
2015-09-12cloud.github.com unconditionally redirects to https. Use it directly.tnn1-2/+2
2015-04-25Recursive revbump following MesaLib update, categories a through f.tnn1-2/+2
2015-04-17Revbump after updating devel/boost-libsadam1-2/+2
2014-12-01Support cwrappers for packages appending arguments in the wrappers.joerg1-1/+2
2014-11-07Revbump after updating boostadam1-2/+2
2014-08-13Revbump after boost-libs updateadam1-2/+2
2014-02-12Recursive PKGREVISION bump for OpenSSL API version bump.tron1-2/+2
2013-11-20Revbump after updating devel/boost-libsadam1-2/+2
2013-11-20recursive bump from boost-lib shlib major bump.obache1-2/+2
2013-06-10Don't complain about the C++11 narrowing rules for this, when buildingjoerg1-2/+2
with clang.
2013-06-06Bump PKGREVISION for libXft changes for NetBSD native X support onwiz1-2/+2
NetBSD 6, requested by tron.
2013-06-04Try to fix the fallout caused by the fix for PR pkg/47882. Part 3:tron1-2/+2
Recursively bump package revisions again after the "freetype2" and "fontconfig" handling was fixed.
2013-06-03Bump freetype2 and fontconfig dependencies to current pkgsrc versions,wiz1-2/+2
to address issues with NetBSD-6(and earlier)'s fontconfig not being new enough for pango. While doing that, also bump freetype2 dependency to current pkgsrc version. Suggested by tron in PR 47882
2013-02-16Recursive bump for png-1.6.wiz1-2/+2
2013-02-15recursive bump from boost-lib shlib update.obache1-2/+2
2013-02-06PKGREVISION bumps for the security/openssl 1.0.1d update.jperkin1-2/+2
2013-01-27use HTTP master siteobache1-4/+2
2013-01-26Revbump after graphics/jpeg and textproc/icuadam1-2/+2
2012-12-25Explicitly put clang into C++11 mode.joerg1-1/+6
2012-10-08Revbump after updating graphics/pangoadam1-2/+2
2012-10-08Drop PKG_DESTDIR_SUPPORT setting, "user-destdir" is default these days.asau1-3/+1
2012-10-02Mass recursive bump after the dependence fix of the "cairo" packagetron1-2/+2
requested by Thomas Klausner.
2012-09-15recursive bump from libffi shlib major bumpobache1-2/+2
(additionaly, reset PKGREVISION of qt4-* sub packages from base qt4 update)
2012-09-07Revbump after updating graphics/cairoadam1-2/+2
2012-09-03Fix pre-build target. From Kamel Ibn Aziz Derouiche in PR 46894.wiz1-2/+2