Comments (2)
thanks for the easy to follow bug report. a patch has been submitted.
-DB
On Tue, Jan 31, 2012 at 11:11 AM, caliston
[email protected]
wrote:
When I have a file where the last character isn't a newline, OpenSCAD ignores the first argument on the command line. Consider the code in the file scad-params.scad:
a_a=false;
b_b=false;
c_c=false;
echo("a=",a_a,"b=",b_b,"c=",c_c);
// end of fileIf that has the last byte of the file as 'e' running it gives this:
$ openscad -o foo.dxf -D a_a=1 -D b_b=2 scad-params.scad
ECHO: "a=", false, "b=", 2, "c=", false
CGAL Cache insert: group(); (40 bytes)
CGAL Cache insert: group(){group();} (40 bytes)
Current top level object is not a 2D object.If the 'e' is followed by a newline, ie the last two bytes are 'e\n', it correctly notices the -D a_a=1 argument:
$ openscad -o foo.dxf -D a_a=1 -D b_b=2 scad-params.scad
ECHO: "a=", 1, "b=", 2, "c=", false
CGAL Cache insert: group(); (40 bytes)
CGAL Cache insert: group(){group();} (40 bytes)
Current top level object is not a 2D object.I'm running a freshly 'git pull'ed OpenSCAD: commit a15c899, on Ubuntu 11.04, x86.
Reply to this email directly or view it on GitHub:
#76
from openscad.
disregard my message, i had some problems with 'git update' not working. marius' patch fixes the bug.
from openscad.
Related Issues (20)
- Subtracted minkowski isn't using the subtraction color in Manifold mode
- roof example broken in CGAL mode
- name polyhedron points HOT 3
- export() HOT 2
- Kill AMF support HOT 2
- Openscad-nightly 2024-07-19 does not draw picture anymore. HOT 4
- VBO has changed how "click on the Model Jump to the file" behave HOT 2
- example009.scad preview different from render HOT 1
- Bison parsers fail to build with LTO
- complete freeze on opening HOT 5
- Copy Customizer values to code
- A new problem with roof on difference
- QCssParser::parseHexColor: Unknown color name '#30306' with dark theme HOT 2
- Artifacts/unexpected render when rendering with fillets3d.scad library using manifold HOT 2
- Openscad crash in polygon2dToPolySet HOT 3
- multiple warnings cause system (windows) to freeze HOT 1
- Set center of rotation has an Offset
- Include BOSL2 into the build like it is done with MCAD since 2011. HOT 11
- The D (distance) and A (angle) commands are inactive HOT 2
- GPU Support HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openscad.