discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

color alpha channel bug

JD
John David
Thu, Feb 26, 2026 1:29 AM

I've tried to fork openscad/openscad from github, BUT since I already have
a fork of pythonscad (which is itself a fork of openscade), github will not
allow me to create a fork of openscad to make the one line change of the
setAlpha I mentioned above...

If anyone can tell me how to fork openscad without deleting my fork of
pythonscad, I will do a PR.  Otherwise, I am stuck...

EBo --

On Wed, Feb 25, 2026 at 7:40 PM John David ebo.2112@gmail.com wrote:

Ahhh... OK.  I agree that it is python only, but the bug is in both source
trees.

I guess I will go ahead and post a PR for the OpenSCAD specific fix and
just try to move it forward.

BTW, what I am using it for is part of Guenther's and my work on
developing a *SCAD to laser cutter gcode path.  At this point, we have it
very close to working, and I can do things like make some part, preview,
render, and export to gcode.  Guenther also fixed something in PythonSCAD
which allows us to do a model.export(filename) directly in the PythonSCAD
script, and it will generate the gcode when you run preview.  At the moment
I am tracking down a bug exposed in a special case I have on a project
where I have multiple materials (3mm plywood, and 0.75" pine) that are
parametrically used in a single OpenSCAD script so I can visualize how the
parts fit together, but I would like to generate the 3mmply.gcode
separate from the 0.75"pine.gcode for cutting on the laser cutter...

Once I get a first pass running in PythonSCAD, I would like to back port
it to OpenSCAD. That said, I need to get it fully working on at least one
of the platforms.

EBo --

I've tried to fork openscad/openscad from github, BUT since I already have a fork of pythonscad (which is itself a fork of openscade), github will not allow me to create a fork of openscad to make the one line change of the setAlpha I mentioned above... If anyone can tell me how to fork openscad without deleting my fork of pythonscad, I will do a PR. Otherwise, I am stuck... EBo -- On Wed, Feb 25, 2026 at 7:40 PM John David <ebo.2112@gmail.com> wrote: > Ahhh... OK. I agree that it is python only, but the bug is in both source > trees. > > I guess I will go ahead and post a PR for the OpenSCAD specific fix and > just try to move it forward. > > BTW, what I am using it for is part of Guenther's and my work on > developing a *SCAD to laser cutter gcode path. At this point, we have it > very close to working, and I can do things like make some part, preview, > render, and export to gcode. Guenther also fixed something in PythonSCAD > which allows us to do a model.export(filename) directly in the PythonSCAD > script, and it will generate the gcode when you run preview. At the moment > I am tracking down a bug exposed in a special case I have on a project > where I have multiple materials (3mm plywood, and 0.75" pine) that are > parametrically used in a single OpenSCAD script so I can visualize how the > parts fit together, but I would like to generate the 3mmply.gcode > separate from the 0.75"pine.gcode for cutting on the laser cutter... > > Once I get a first pass running in PythonSCAD, I would like to back port > it to OpenSCAD. That said, I need to get it fully working on at least one > of the platforms. > > EBo -- >
TP
Torsten Paul
Thu, Feb 26, 2026 2:14 AM

On 26.02.26 02:29, John David via Discuss wrote:

If anyone can tell me how to fork openscad without deleting my fork of
pythonscad, I will do a PR.  Otherwise, I am stuck...

No idea why github makes it so complicated. Switching target when
creating the PR is possible but I think there's no way to limit
the scope once the main branch has diverged.

  1. 2nd account

https://www.w3tutorials.net/blog/how-can-i-make-a-second-fork-of-a-github-project/
3) make sure it's a dedicated commit so it can be cherry-picked, if that
works, depends on how much of the file changed otherwise
4) clone locally only, send diff with signed-off-by (if attribution is
wanted)

ciao,
Torsten.

On 26.02.26 02:29, John David via Discuss wrote: > If anyone can tell me how to fork openscad without deleting my fork of > pythonscad, I will do a PR.  Otherwise, I am stuck... No idea why github makes it so complicated. Switching target when creating the PR is possible but I think there's no way to limit the scope once the main branch has diverged. 1) 2nd account 2) https://www.w3tutorials.net/blog/how-can-i-make-a-second-fork-of-a-github-project/ 3) make sure it's a dedicated commit so it can be cherry-picked, if that works, depends on how much of the file changed otherwise 4) clone locally only, send diff with signed-off-by (if attribution is wanted) ciao, Torsten.
JD
John David
Thu, Feb 26, 2026 2:42 AM

Thank you, Torsten,

Before I read this email, I dug around and found something that I think
works.  It is very close to the instructions you sent.  Thank you for
sending them.

I have just posted a PR, and it is in essence a single line change.
However, I added curly-brackets around the single-line if/then to follow
what appears to be code style, and it ends up being three lines.  Trivial
change, but broke one of my projects without it.

EBo --

On Wed, Feb 25, 2026 at 9:15 PM Torsten Paul via Discuss <
discuss@lists.openscad.org> wrote:

On 26.02.26 02:29, John David via Discuss wrote:

If anyone can tell me how to fork openscad without deleting my fork of
pythonscad, I will do a PR.  Otherwise, I am stuck...

No idea why github makes it so complicated. Switching target when
creating the PR is possible but I think there's no way to limit
the scope once the main branch has diverged.

  1. 2nd account

https://www.w3tutorials.net/blog/how-can-i-make-a-second-fork-of-a-github-project/
3) make sure it's a dedicated commit so it can be cherry-picked, if that
works, depends on how much of the file changed otherwise
4) clone locally only, send diff with signed-off-by (if attribution is
wanted)

ciao,
Torsten.


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

Thank you, Torsten, Before I read this email, I dug around and found something that I *think* works. It is very close to the instructions you sent. Thank you for sending them. I have just posted a PR, and it is in essence a single line change. However, I added curly-brackets around the single-line if/then to follow what appears to be code style, and it ends up being three lines. Trivial change, but broke one of my projects without it. EBo -- On Wed, Feb 25, 2026 at 9:15 PM Torsten Paul via Discuss < discuss@lists.openscad.org> wrote: > On 26.02.26 02:29, John David via Discuss wrote: > > If anyone can tell me how to fork openscad without deleting my fork of > > pythonscad, I will do a PR. Otherwise, I am stuck... > > No idea why github makes it so complicated. Switching target when > creating the PR is possible but I think there's no way to limit > the scope once the main branch has diverged. > > 1) 2nd account > 2) > > https://www.w3tutorials.net/blog/how-can-i-make-a-second-fork-of-a-github-project/ > 3) make sure it's a dedicated commit so it can be cherry-picked, if that > works, depends on how much of the file changed otherwise > 4) clone locally only, send diff with signed-off-by (if attribution is > wanted) > > ciao, > Torsten. > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org