discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

errors using BOSL2 after building latest version from source.

JD
John David
Sat, Apr 19, 2025 6:58 AM

I decided I wanted to play around with the source version again so that I
can see if I can add colors to the SVG output.  After building clean with
the latest github source (master branch), BOSL2 gives me the following
warnings/errors:

WARNING: Ignoring unknown variable "$transform" in file
../../BOSL2/transforms.scad, line 1604
<1604,/home/ebo/.local/share/OpenSCAD/libraries/BOSL2/transforms.scad>

TRACE: assignment to "$transform" in file ../../BOSL2/transforms.scad, line
1604 <1604,/home/ebo/.local/share/OpenSCAD/libraries/BOSL2/transforms.scad>

TRACE: called by 'scale' in file Cable_Trace_Bracket_examples_3T.scad, line
39
<39,/home/ebo/.local/share/OpenSCAD/libraries/tabbed-box/examples/Cable_Trace_Bracket_examples_3T.scad>
Any idea how to fix this?  I tried updating BOSL2 to the latest, and that
did not help.  I'll also try building from one of the recient tagged
sources.

EBo --

I decided I wanted to play around with the source version again so that I can see if I can add colors to the SVG output. After building clean with the latest github source (master branch), BOSL2 gives me the following warnings/errors: WARNING: Ignoring unknown variable "$transform" in file ../../BOSL2/transforms.scad, line 1604 <1604,/home/ebo/.local/share/OpenSCAD/libraries/BOSL2/transforms.scad> TRACE: assignment to "$transform" in file ../../BOSL2/transforms.scad, line 1604 <1604,/home/ebo/.local/share/OpenSCAD/libraries/BOSL2/transforms.scad> TRACE: called by 'scale' in file Cable_Trace_Bracket_examples_3T.scad, line 39 <39,/home/ebo/.local/share/OpenSCAD/libraries/tabbed-box/examples/Cable_Trace_Bracket_examples_3T.scad> Any idea how to fix this? I tried updating BOSL2 to the latest, and that did not help. I'll also try building from one of the recient tagged sources. EBo --
RD
Revar Desmera
Sat, Apr 19, 2025 8:54 AM

By any chance did you “use <>" the BOSL2 library instead of “include <>”ing it?

-Revar

On Apr 18, 2025, at 11:59 PM, John David via Discuss <discuss@lists.openscad.org> wrote:

I decided I wanted to play around with the source version again so that I can see if I can add colors to the SVG output. After building clean with the latest github source (master branch), BOSL2 gives me the following warnings/errors:

WARNING: Ignoring unknown variable "$transform" in file ../../BOSL2/transforms.scad, line 1604

TRACE: assignment to "$transform" in file ../../BOSL2/transforms.scad, line 1604

TRACE: called by 'scale' in file Cable_Trace_Bracket_examples_3T.scad, line 39

Any idea how to fix this? I tried updating BOSL2 to the latest, and that did not help. I'll also try building from one of the recient tagged sources.

EBo --

_______________________________________________
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

AM
Adrian Mariano
Sat, Apr 19, 2025 11:33 AM

Could be a BOSL2 bug.  You have overlooked the cardinal rule of posting
about bugs which is to include a minimal code example that triggers the
problem.

On Sat, Apr 19, 2025 at 4:55 AM Revar Desmera via Discuss <
discuss@lists.openscad.org> wrote:

By any chance did you “use <>" the BOSL2 library instead of “include
<>”ing it?

-Revar

On Apr 18, 2025, at 11:59 PM, John David via Discuss <
discuss@lists.openscad.org> wrote:


I decided I wanted to play around with the source version again so that I
can see if I can add colors to the SVG output.  After building clean with
the latest github source (master branch), BOSL2 gives me the following
warnings/errors:

WARNING: Ignoring unknown variable "$transform" in file
../../BOSL2/transforms.scad, line 1604
http://1604,/home/ebo/.local/share/OpenSCAD/libraries/BOSL2/transforms.scad

TRACE: assignment to "$transform" in file ../../BOSL2/transforms.scad,
line 1604
http://1604,/home/ebo/.local/share/OpenSCAD/libraries/BOSL2/transforms.scad

TRACE: called by 'scale' in file Cable_Trace_Bracket_examples_3T.scad,
line 39
http://39,/home/ebo/.local/share/OpenSCAD/libraries/tabbed-box/examples/Cable_Trace_Bracket_examples_3T.scad
Any idea how to fix this?  I tried updating BOSL2 to the latest, and that
did not help.  I'll also try building from one of the recient tagged
sources.

EBo --


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

Could be a BOSL2 bug. You have overlooked the cardinal rule of posting about bugs which is to include a minimal code example that triggers the problem. On Sat, Apr 19, 2025 at 4:55 AM Revar Desmera via Discuss < discuss@lists.openscad.org> wrote: > By any chance did you “use <>" the BOSL2 library instead of “include > <>”ing it? > > -Revar > > > On Apr 18, 2025, at 11:59 PM, John David via Discuss < > discuss@lists.openscad.org> wrote: > >  > I decided I wanted to play around with the source version again so that I > can see if I can add colors to the SVG output. After building clean with > the latest github source (master branch), BOSL2 gives me the following > warnings/errors: > > WARNING: Ignoring unknown variable "$transform" in file > ../../BOSL2/transforms.scad, line 1604 > <http://1604,/home/ebo/.local/share/OpenSCAD/libraries/BOSL2/transforms.scad> > > TRACE: assignment to "$transform" in file ../../BOSL2/transforms.scad, > line 1604 > <http://1604,/home/ebo/.local/share/OpenSCAD/libraries/BOSL2/transforms.scad> > > TRACE: called by 'scale' in file Cable_Trace_Bracket_examples_3T.scad, > line 39 > <http://39,/home/ebo/.local/share/OpenSCAD/libraries/tabbed-box/examples/Cable_Trace_Bracket_examples_3T.scad> > Any idea how to fix this? I tried updating BOSL2 to the latest, and that > did not help. I'll also try building from one of the recient tagged > sources. > > EBo -- > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >