discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

python for openSCAD

SP
Sanjeev Prabhakar
Sun, Sep 17, 2023 11:21 AM

Today I tried vscode for writing python code and generating openSCAD files
and it is much simpler to install and use.

here is the link to a small video.
https://github.com/sprabhakar2006/openSCAD/blob/main/videos/vcsforpython.mov

Today I tried vscode for writing python code and generating openSCAD files and it is much simpler to install and use. here is the link to a small video. https://github.com/sprabhakar2006/openSCAD/blob/main/videos/vcsforpython.mov
GS
Guenther Sohler
Sun, Sep 17, 2023 11:40 AM

Hi Sanjeev,

my openscad  fork is not more difficult to install than the original ones.
It's also as easy as running the windows installer.
One advantage of my fork against other openscad python-wrappers is:
As python is sitting right inside openscad, Scenarios like altering point
data become possible like that

c=complicated_solid();
pts,tris = c.mesh()

alter pts ...

new_solid = polyhedron(pts, tris)

This is definitely not possible with any external python openscad wrapper
solution ...

cheers ...

On Sun, Sep 17, 2023 at 1:22 PM Sanjeev Prabhakar sprabhakar2006@gmail.com
wrote:

Today I tried vscode for writing python code and generating openSCAD files
and it is much simpler to install and use.

here is the link to a small video.

https://github.com/sprabhakar2006/openSCAD/blob/main/videos/vcsforpython.mov


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

Hi Sanjeev, my openscad fork is not more difficult to install than the original ones. It's also as easy as running the windows installer. One advantage of my fork against other openscad python-wrappers is: As python is sitting right inside openscad, Scenarios like altering point data become possible like that c=complicated_solid(); pts,tris = c.mesh() # alter pts ... new_solid = polyhedron(pts, tris) This is definitely not possible with any external python openscad wrapper solution ... cheers ... On Sun, Sep 17, 2023 at 1:22 PM Sanjeev Prabhakar <sprabhakar2006@gmail.com> wrote: > Today I tried vscode for writing python code and generating openSCAD files > and it is much simpler to install and use. > > here is the link to a small video. > > https://github.com/sprabhakar2006/openSCAD/blob/main/videos/vcsforpython.mov > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >
SP
Sanjeev Prabhakar
Sun, Sep 17, 2023 11:49 AM

Hi Guenther,

Does it work on macbook air?
I think , I looked at it sometime ago, but was not very clear on how to
install it.

Also, how to use my python library after installation is another point, I
wanted to understand.

So I was just waiting for your official version to be released as I
understand this is in process.

On Sun, 17 Sept, 2023, 5:11 pm Guenther Sohler, guenther.sohler@gmail.com
wrote:

Hi Sanjeev,

my openscad  fork is not more difficult to install than the original ones.
It's also as easy as running the windows installer.
One advantage of my fork against other openscad python-wrappers is:
As python is sitting right inside openscad, Scenarios like altering point
data become possible like that

c=complicated_solid();
pts,tris = c.mesh()

alter pts ...

new_solid = polyhedron(pts, tris)

This is definitely not possible with any external python openscad wrapper
solution ...

cheers ...

On Sun, Sep 17, 2023 at 1:22 PM Sanjeev Prabhakar <
sprabhakar2006@gmail.com> wrote:

Today I tried vscode for writing python code and generating openSCAD
files and it is much simpler to install and use.

here is the link to a small video.

https://github.com/sprabhakar2006/openSCAD/blob/main/videos/vcsforpython.mov


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

Hi Guenther, Does it work on macbook air? I think , I looked at it sometime ago, but was not very clear on how to install it. Also, how to use my python library after installation is another point, I wanted to understand. So I was just waiting for your official version to be released as I understand this is in process. On Sun, 17 Sept, 2023, 5:11 pm Guenther Sohler, <guenther.sohler@gmail.com> wrote: > Hi Sanjeev, > > my openscad fork is not more difficult to install than the original ones. > It's also as easy as running the windows installer. > One advantage of my fork against other openscad python-wrappers is: > As python is sitting right inside openscad, Scenarios like altering point > data become possible like that > > c=complicated_solid(); > pts,tris = c.mesh() > # alter pts ... > new_solid = polyhedron(pts, tris) > > This is definitely not possible with any external python openscad wrapper > solution ... > > cheers ... > > > > > On Sun, Sep 17, 2023 at 1:22 PM Sanjeev Prabhakar < > sprabhakar2006@gmail.com> wrote: > >> Today I tried vscode for writing python code and generating openSCAD >> files and it is much simpler to install and use. >> >> here is the link to a small video. >> >> https://github.com/sprabhakar2006/openSCAD/blob/main/videos/vcsforpython.mov >> _______________________________________________ >> 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 >
FH
Father Horton
Sun, Sep 17, 2023 2:43 PM

I've been trying to build it on my MacBook Air, but haven't succeeded yet.

On Sun, Sep 17, 2023 at 8:06 AM Sanjeev Prabhakar sprabhakar2006@gmail.com
wrote:

Hi Guenther,

Does it work on macbook air?
I think , I looked at it sometime ago, but was not very clear on how to
install it.

Also, how to use my python library after installation is another point, I
wanted to understand.

So I was just waiting for your official version to be released as I
understand this is in process.

On Sun, 17 Sept, 2023, 5:11 pm Guenther Sohler, guenther.sohler@gmail.com
wrote:

Hi Sanjeev,

my openscad  fork is not more difficult to install than the original ones.
It's also as easy as running the windows installer.
One advantage of my fork against other openscad python-wrappers is:
As python is sitting right inside openscad, Scenarios like altering point
data become possible like that

c=complicated_solid();
pts,tris = c.mesh()

alter pts ...

new_solid = polyhedron(pts, tris)

This is definitely not possible with any external python openscad wrapper
solution ...

cheers ...

On Sun, Sep 17, 2023 at 1:22 PM Sanjeev Prabhakar <
sprabhakar2006@gmail.com> wrote:

Today I tried vscode for writing python code and generating openSCAD
files and it is much simpler to install and use.

here is the link to a small video.

https://github.com/sprabhakar2006/openSCAD/blob/main/videos/vcsforpython.mov


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


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

I've been trying to build it on my MacBook Air, but haven't succeeded yet. On Sun, Sep 17, 2023 at 8:06 AM Sanjeev Prabhakar <sprabhakar2006@gmail.com> wrote: > Hi Guenther, > > Does it work on macbook air? > I think , I looked at it sometime ago, but was not very clear on how to > install it. > > Also, how to use my python library after installation is another point, I > wanted to understand. > > So I was just waiting for your official version to be released as I > understand this is in process. > > On Sun, 17 Sept, 2023, 5:11 pm Guenther Sohler, <guenther.sohler@gmail.com> > wrote: > >> Hi Sanjeev, >> >> my openscad fork is not more difficult to install than the original ones. >> It's also as easy as running the windows installer. >> One advantage of my fork against other openscad python-wrappers is: >> As python is sitting right inside openscad, Scenarios like altering point >> data become possible like that >> >> c=complicated_solid(); >> pts,tris = c.mesh() >> # alter pts ... >> new_solid = polyhedron(pts, tris) >> >> This is definitely not possible with any external python openscad wrapper >> solution ... >> >> cheers ... >> >> >> >> >> On Sun, Sep 17, 2023 at 1:22 PM Sanjeev Prabhakar < >> sprabhakar2006@gmail.com> wrote: >> >>> Today I tried vscode for writing python code and generating openSCAD >>> files and it is much simpler to install and use. >>> >>> here is the link to a small video. >>> >>> https://github.com/sprabhakar2006/openSCAD/blob/main/videos/vcsforpython.mov >>> _______________________________________________ >>> 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 >> > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >
FH
Father Horton
Sun, Sep 17, 2023 3:23 PM

The problem is that some of the needed libraries conflict with the native
MacOS ones, and I need to sort out how to point to the right versions.

On Sun, Sep 17, 2023 at 9:43 AM Father Horton fatherhorton@gmail.com
wrote:

I've been trying to build it on my MacBook Air, but haven't succeeded yet.

On Sun, Sep 17, 2023 at 8:06 AM Sanjeev Prabhakar <
sprabhakar2006@gmail.com> wrote:

Hi Guenther,

Does it work on macbook air?
I think , I looked at it sometime ago, but was not very clear on how to
install it.

Also, how to use my python library after installation is another point, I
wanted to understand.

So I was just waiting for your official version to be released as I
understand this is in process.

On Sun, 17 Sept, 2023, 5:11 pm Guenther Sohler, <
guenther.sohler@gmail.com> wrote:

Hi Sanjeev,

my openscad  fork is not more difficult to install than the original
ones.
It's also as easy as running the windows installer.
One advantage of my fork against other openscad python-wrappers is:
As python is sitting right inside openscad, Scenarios like altering
point data become possible like that

c=complicated_solid();
pts,tris = c.mesh()

alter pts ...

new_solid = polyhedron(pts, tris)

This is definitely not possible with any external python openscad
wrapper solution ...

cheers ...

On Sun, Sep 17, 2023 at 1:22 PM Sanjeev Prabhakar <
sprabhakar2006@gmail.com> wrote:

Today I tried vscode for writing python code and generating openSCAD
files and it is much simpler to install and use.

here is the link to a small video.

https://github.com/sprabhakar2006/openSCAD/blob/main/videos/vcsforpython.mov


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


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

The problem is that some of the needed libraries conflict with the native MacOS ones, and I need to sort out how to point to the right versions. On Sun, Sep 17, 2023 at 9:43 AM Father Horton <fatherhorton@gmail.com> wrote: > I've been trying to build it on my MacBook Air, but haven't succeeded yet. > > On Sun, Sep 17, 2023 at 8:06 AM Sanjeev Prabhakar < > sprabhakar2006@gmail.com> wrote: > >> Hi Guenther, >> >> Does it work on macbook air? >> I think , I looked at it sometime ago, but was not very clear on how to >> install it. >> >> Also, how to use my python library after installation is another point, I >> wanted to understand. >> >> So I was just waiting for your official version to be released as I >> understand this is in process. >> >> On Sun, 17 Sept, 2023, 5:11 pm Guenther Sohler, < >> guenther.sohler@gmail.com> wrote: >> >>> Hi Sanjeev, >>> >>> my openscad fork is not more difficult to install than the original >>> ones. >>> It's also as easy as running the windows installer. >>> One advantage of my fork against other openscad python-wrappers is: >>> As python is sitting right inside openscad, Scenarios like altering >>> point data become possible like that >>> >>> c=complicated_solid(); >>> pts,tris = c.mesh() >>> # alter pts ... >>> new_solid = polyhedron(pts, tris) >>> >>> This is definitely not possible with any external python openscad >>> wrapper solution ... >>> >>> cheers ... >>> >>> >>> >>> >>> On Sun, Sep 17, 2023 at 1:22 PM Sanjeev Prabhakar < >>> sprabhakar2006@gmail.com> wrote: >>> >>>> Today I tried vscode for writing python code and generating openSCAD >>>> files and it is much simpler to install and use. >>>> >>>> here is the link to a small video. >>>> >>>> https://github.com/sprabhakar2006/openSCAD/blob/main/videos/vcsforpython.mov >>>> _______________________________________________ >>>> 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 >>> >> _______________________________________________ >> OpenSCAD mailing list >> To unsubscribe send an email to discuss-leave@lists.openscad.org >> >
SP
Sanjeev Prabhakar
Sun, Sep 17, 2023 3:48 PM

So till the time you resolve all the issues, you can try vs code.
I found it to be much simpler .

On Sun, 17 Sept, 2023, 9:11 pm Father Horton, fatherhorton@gmail.com
wrote:

The problem is that some of the needed libraries conflict with the native
MacOS ones, and I need to sort out how to point to the right versions.

On Sun, Sep 17, 2023 at 9:43 AM Father Horton fatherhorton@gmail.com
wrote:

I've been trying to build it on my MacBook Air, but haven't succeeded yet.

On Sun, Sep 17, 2023 at 8:06 AM Sanjeev Prabhakar <
sprabhakar2006@gmail.com> wrote:

Hi Guenther,

Does it work on macbook air?
I think , I looked at it sometime ago, but was not very clear on how to
install it.

Also, how to use my python library after installation is another point,
I wanted to understand.

So I was just waiting for your official version to be released as I
understand this is in process.

On Sun, 17 Sept, 2023, 5:11 pm Guenther Sohler, <
guenther.sohler@gmail.com> wrote:

Hi Sanjeev,

my openscad  fork is not more difficult to install than the original
ones.
It's also as easy as running the windows installer.
One advantage of my fork against other openscad python-wrappers is:
As python is sitting right inside openscad, Scenarios like altering
point data become possible like that

c=complicated_solid();
pts,tris = c.mesh()

alter pts ...

new_solid = polyhedron(pts, tris)

This is definitely not possible with any external python openscad
wrapper solution ...

cheers ...

On Sun, Sep 17, 2023 at 1:22 PM Sanjeev Prabhakar <
sprabhakar2006@gmail.com> wrote:

Today I tried vscode for writing python code and generating openSCAD
files and it is much simpler to install and use.

here is the link to a small video.

https://github.com/sprabhakar2006/openSCAD/blob/main/videos/vcsforpython.mov


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


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

So till the time you resolve all the issues, you can try vs code. I found it to be much simpler . On Sun, 17 Sept, 2023, 9:11 pm Father Horton, <fatherhorton@gmail.com> wrote: > The problem is that some of the needed libraries conflict with the native > MacOS ones, and I need to sort out how to point to the right versions. > > On Sun, Sep 17, 2023 at 9:43 AM Father Horton <fatherhorton@gmail.com> > wrote: > >> I've been trying to build it on my MacBook Air, but haven't succeeded yet. >> >> On Sun, Sep 17, 2023 at 8:06 AM Sanjeev Prabhakar < >> sprabhakar2006@gmail.com> wrote: >> >>> Hi Guenther, >>> >>> Does it work on macbook air? >>> I think , I looked at it sometime ago, but was not very clear on how to >>> install it. >>> >>> Also, how to use my python library after installation is another point, >>> I wanted to understand. >>> >>> So I was just waiting for your official version to be released as I >>> understand this is in process. >>> >>> On Sun, 17 Sept, 2023, 5:11 pm Guenther Sohler, < >>> guenther.sohler@gmail.com> wrote: >>> >>>> Hi Sanjeev, >>>> >>>> my openscad fork is not more difficult to install than the original >>>> ones. >>>> It's also as easy as running the windows installer. >>>> One advantage of my fork against other openscad python-wrappers is: >>>> As python is sitting right inside openscad, Scenarios like altering >>>> point data become possible like that >>>> >>>> c=complicated_solid(); >>>> pts,tris = c.mesh() >>>> # alter pts ... >>>> new_solid = polyhedron(pts, tris) >>>> >>>> This is definitely not possible with any external python openscad >>>> wrapper solution ... >>>> >>>> cheers ... >>>> >>>> >>>> >>>> >>>> On Sun, Sep 17, 2023 at 1:22 PM Sanjeev Prabhakar < >>>> sprabhakar2006@gmail.com> wrote: >>>> >>>>> Today I tried vscode for writing python code and generating openSCAD >>>>> files and it is much simpler to install and use. >>>>> >>>>> here is the link to a small video. >>>>> >>>>> https://github.com/sprabhakar2006/openSCAD/blob/main/videos/vcsforpython.mov >>>>> _______________________________________________ >>>>> 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 >>>> >>> _______________________________________________ >>> 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 >
GS
Guenther Sohler
Sun, Sep 17, 2023 7:56 PM

Sanjeev,

I won't be able to resolve the issues with the MacOS build,
Unfortunately I dont own any mac and it doesn't look yet like somebody
would sponsor me one for the purpose of create MacOS builds

But I have found that there is some instructions how to compile for MacOS
at
https://github.com/openscad/openscad/blob/master/README.md#building-for-macos

Anybody who is interested to test something new will get full support from
my side ...

On Sun, Sep 17, 2023 at 5:49 PM Sanjeev Prabhakar sprabhakar2006@gmail.com
wrote:

So till the time you resolve all the issues, you can try vs code.
I found it to be much simpler .

On Sun, 17 Sept, 2023, 9:11 pm Father Horton, fatherhorton@gmail.com
wrote:

The problem is that some of the needed libraries conflict with the native
MacOS ones, and I need to sort out how to point to the right versions.

On Sun, Sep 17, 2023 at 9:43 AM Father Horton fatherhorton@gmail.com
wrote:

I've been trying to build it on my MacBook Air, but haven't succeeded
yet.

On Sun, Sep 17, 2023 at 8:06 AM Sanjeev Prabhakar <
sprabhakar2006@gmail.com> wrote:

Hi Guenther,

Does it work on macbook air?
I think , I looked at it sometime ago, but was not very clear on how to
install it.

Also, how to use my python library after installation is another point,
I wanted to understand.

So I was just waiting for your official version to be released as I
understand this is in process.

On Sun, 17 Sept, 2023, 5:11 pm Guenther Sohler, <
guenther.sohler@gmail.com> wrote:

Hi Sanjeev,

my openscad  fork is not more difficult to install than the original
ones.
It's also as easy as running the windows installer.
One advantage of my fork against other openscad python-wrappers is:
As python is sitting right inside openscad, Scenarios like altering
point data become possible like that

c=complicated_solid();
pts,tris = c.mesh()

alter pts ...

new_solid = polyhedron(pts, tris)

This is definitely not possible with any external python openscad
wrapper solution ...

cheers ...

On Sun, Sep 17, 2023 at 1:22 PM Sanjeev Prabhakar <
sprabhakar2006@gmail.com> wrote:

Today I tried vscode for writing python code and generating openSCAD
files and it is much simpler to install and use.

here is the link to a small video.

https://github.com/sprabhakar2006/openSCAD/blob/main/videos/vcsforpython.mov


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


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


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

Sanjeev, I won't be able to resolve the issues with the MacOS build, Unfortunately I dont own any mac and it doesn't look yet like somebody would sponsor me one for the purpose of create MacOS builds But I have found that there is some instructions how to compile for MacOS at https://github.com/openscad/openscad/blob/master/README.md#building-for-macos Anybody who is interested to test something new will get full support from my side ... On Sun, Sep 17, 2023 at 5:49 PM Sanjeev Prabhakar <sprabhakar2006@gmail.com> wrote: > So till the time you resolve all the issues, you can try vs code. > I found it to be much simpler . > > > On Sun, 17 Sept, 2023, 9:11 pm Father Horton, <fatherhorton@gmail.com> > wrote: > >> The problem is that some of the needed libraries conflict with the native >> MacOS ones, and I need to sort out how to point to the right versions. >> >> On Sun, Sep 17, 2023 at 9:43 AM Father Horton <fatherhorton@gmail.com> >> wrote: >> >>> I've been trying to build it on my MacBook Air, but haven't succeeded >>> yet. >>> >>> On Sun, Sep 17, 2023 at 8:06 AM Sanjeev Prabhakar < >>> sprabhakar2006@gmail.com> wrote: >>> >>>> Hi Guenther, >>>> >>>> Does it work on macbook air? >>>> I think , I looked at it sometime ago, but was not very clear on how to >>>> install it. >>>> >>>> Also, how to use my python library after installation is another point, >>>> I wanted to understand. >>>> >>>> So I was just waiting for your official version to be released as I >>>> understand this is in process. >>>> >>>> On Sun, 17 Sept, 2023, 5:11 pm Guenther Sohler, < >>>> guenther.sohler@gmail.com> wrote: >>>> >>>>> Hi Sanjeev, >>>>> >>>>> my openscad fork is not more difficult to install than the original >>>>> ones. >>>>> It's also as easy as running the windows installer. >>>>> One advantage of my fork against other openscad python-wrappers is: >>>>> As python is sitting right inside openscad, Scenarios like altering >>>>> point data become possible like that >>>>> >>>>> c=complicated_solid(); >>>>> pts,tris = c.mesh() >>>>> # alter pts ... >>>>> new_solid = polyhedron(pts, tris) >>>>> >>>>> This is definitely not possible with any external python openscad >>>>> wrapper solution ... >>>>> >>>>> cheers ... >>>>> >>>>> >>>>> >>>>> >>>>> On Sun, Sep 17, 2023 at 1:22 PM Sanjeev Prabhakar < >>>>> sprabhakar2006@gmail.com> wrote: >>>>> >>>>>> Today I tried vscode for writing python code and generating openSCAD >>>>>> files and it is much simpler to install and use. >>>>>> >>>>>> here is the link to a small video. >>>>>> >>>>>> https://github.com/sprabhakar2006/openSCAD/blob/main/videos/vcsforpython.mov >>>>>> _______________________________________________ >>>>>> 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 >>>>> >>>> _______________________________________________ >>>> 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 >> > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >
FH
Father Horton
Sun, Sep 17, 2023 8:10 PM

I have read that, but I'm still getting errors. Right now, it's having
trouble finding the right QT libraries.

On Sun, Sep 17, 2023 at 2:57 PM Guenther Sohler guenther.sohler@gmail.com
wrote:

Sanjeev,

I won't be able to resolve the issues with the MacOS build,
Unfortunately I dont own any mac and it doesn't look yet like somebody
would sponsor me one for the purpose of create MacOS builds

But I have found that there is some instructions how to compile for MacOS
at

https://github.com/openscad/openscad/blob/master/README.md#building-for-macos

Anybody who is interested to test something new will get full support from
my side ...

On Sun, Sep 17, 2023 at 5:49 PM Sanjeev Prabhakar <
sprabhakar2006@gmail.com> wrote:

So till the time you resolve all the issues, you can try vs code.
I found it to be much simpler .

On Sun, 17 Sept, 2023, 9:11 pm Father Horton, fatherhorton@gmail.com
wrote:

The problem is that some of the needed libraries conflict with the
native MacOS ones, and I need to sort out how to point to the right
versions.

On Sun, Sep 17, 2023 at 9:43 AM Father Horton fatherhorton@gmail.com
wrote:

I've been trying to build it on my MacBook Air, but haven't succeeded
yet.

On Sun, Sep 17, 2023 at 8:06 AM Sanjeev Prabhakar <
sprabhakar2006@gmail.com> wrote:

Hi Guenther,

Does it work on macbook air?
I think , I looked at it sometime ago, but was not very clear on how
to install it.

Also, how to use my python library after installation is another
point, I wanted to understand.

So I was just waiting for your official version to be released as I
understand this is in process.

On Sun, 17 Sept, 2023, 5:11 pm Guenther Sohler, <
guenther.sohler@gmail.com> wrote:

Hi Sanjeev,

my openscad  fork is not more difficult to install than the original
ones.
It's also as easy as running the windows installer.
One advantage of my fork against other openscad python-wrappers is:
As python is sitting right inside openscad, Scenarios like altering
point data become possible like that

c=complicated_solid();
pts,tris = c.mesh()

alter pts ...

new_solid = polyhedron(pts, tris)

This is definitely not possible with any external python openscad
wrapper solution ...

cheers ...

On Sun, Sep 17, 2023 at 1:22 PM Sanjeev Prabhakar <
sprabhakar2006@gmail.com> wrote:

Today I tried vscode for writing python code and generating openSCAD
files and it is much simpler to install and use.

here is the link to a small video.

https://github.com/sprabhakar2006/openSCAD/blob/main/videos/vcsforpython.mov


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


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


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

I have read that, but I'm still getting errors. Right now, it's having trouble finding the right QT libraries. On Sun, Sep 17, 2023 at 2:57 PM Guenther Sohler <guenther.sohler@gmail.com> wrote: > Sanjeev, > > I won't be able to resolve the issues with the MacOS build, > Unfortunately I dont own any mac and it doesn't look yet like somebody > would sponsor me one for the purpose of create MacOS builds > > But I have found that there is some instructions how to compile for MacOS > at > > https://github.com/openscad/openscad/blob/master/README.md#building-for-macos > > Anybody who is interested to test something new will get full support from > my side ... > > > > On Sun, Sep 17, 2023 at 5:49 PM Sanjeev Prabhakar < > sprabhakar2006@gmail.com> wrote: > >> So till the time you resolve all the issues, you can try vs code. >> I found it to be much simpler . >> >> >> On Sun, 17 Sept, 2023, 9:11 pm Father Horton, <fatherhorton@gmail.com> >> wrote: >> >>> The problem is that some of the needed libraries conflict with the >>> native MacOS ones, and I need to sort out how to point to the right >>> versions. >>> >>> On Sun, Sep 17, 2023 at 9:43 AM Father Horton <fatherhorton@gmail.com> >>> wrote: >>> >>>> I've been trying to build it on my MacBook Air, but haven't succeeded >>>> yet. >>>> >>>> On Sun, Sep 17, 2023 at 8:06 AM Sanjeev Prabhakar < >>>> sprabhakar2006@gmail.com> wrote: >>>> >>>>> Hi Guenther, >>>>> >>>>> Does it work on macbook air? >>>>> I think , I looked at it sometime ago, but was not very clear on how >>>>> to install it. >>>>> >>>>> Also, how to use my python library after installation is another >>>>> point, I wanted to understand. >>>>> >>>>> So I was just waiting for your official version to be released as I >>>>> understand this is in process. >>>>> >>>>> On Sun, 17 Sept, 2023, 5:11 pm Guenther Sohler, < >>>>> guenther.sohler@gmail.com> wrote: >>>>> >>>>>> Hi Sanjeev, >>>>>> >>>>>> my openscad fork is not more difficult to install than the original >>>>>> ones. >>>>>> It's also as easy as running the windows installer. >>>>>> One advantage of my fork against other openscad python-wrappers is: >>>>>> As python is sitting right inside openscad, Scenarios like altering >>>>>> point data become possible like that >>>>>> >>>>>> c=complicated_solid(); >>>>>> pts,tris = c.mesh() >>>>>> # alter pts ... >>>>>> new_solid = polyhedron(pts, tris) >>>>>> >>>>>> This is definitely not possible with any external python openscad >>>>>> wrapper solution ... >>>>>> >>>>>> cheers ... >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> On Sun, Sep 17, 2023 at 1:22 PM Sanjeev Prabhakar < >>>>>> sprabhakar2006@gmail.com> wrote: >>>>>> >>>>>>> Today I tried vscode for writing python code and generating openSCAD >>>>>>> files and it is much simpler to install and use. >>>>>>> >>>>>>> here is the link to a small video. >>>>>>> >>>>>>> https://github.com/sprabhakar2006/openSCAD/blob/main/videos/vcsforpython.mov >>>>>>> _______________________________________________ >>>>>>> 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 >>>>>> >>>>> _______________________________________________ >>>>> 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 >>> >> _______________________________________________ >> 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 >
FH
Father Horton
Sat, Sep 23, 2023 12:43 PM

I got it to build and run in WSL2/Ubuntu.

git clone https://github.com/gsohler/openscad.git
cd openscad
git checkout python
git submodule update --init --recursive
./scripts/check-dependencies.sh
sudo apt install libcrypto++-dev
mkdir build
cd build
cmake -DEXPERIMENTAL=1 -DENABLE_PYTHON=1 -DENABLE_LIBFIVE=1 ..
make
sudo make install

The last step fails because it wants superuser privileges to move the
executable into /usr/local/bin, but it runs just fine.

On Sun, Sep 17, 2023 at 3:10 PM Father Horton fatherhorton@gmail.com
wrote:

I have read that, but I'm still getting errors. Right now, it's having
trouble finding the right QT libraries.

On Sun, Sep 17, 2023 at 2:57 PM Guenther Sohler guenther.sohler@gmail.com
wrote:

Sanjeev,

I won't be able to resolve the issues with the MacOS build,
Unfortunately I dont own any mac and it doesn't look yet like somebody
would sponsor me one for the purpose of create MacOS builds

But I have found that there is some instructions how to compile for MacOS
at

https://github.com/openscad/openscad/blob/master/README.md#building-for-macos

Anybody who is interested to test something new will get full support
from my side ...

On Sun, Sep 17, 2023 at 5:49 PM Sanjeev Prabhakar <
sprabhakar2006@gmail.com> wrote:

So till the time you resolve all the issues, you can try vs code.
I found it to be much simpler .

On Sun, 17 Sept, 2023, 9:11 pm Father Horton, fatherhorton@gmail.com
wrote:

The problem is that some of the needed libraries conflict with the
native MacOS ones, and I need to sort out how to point to the right
versions.

On Sun, Sep 17, 2023 at 9:43 AM Father Horton fatherhorton@gmail.com
wrote:

I've been trying to build it on my MacBook Air, but haven't succeeded
yet.

On Sun, Sep 17, 2023 at 8:06 AM Sanjeev Prabhakar <
sprabhakar2006@gmail.com> wrote:

Hi Guenther,

Does it work on macbook air?
I think , I looked at it sometime ago, but was not very clear on how
to install it.

Also, how to use my python library after installation is another
point, I wanted to understand.

So I was just waiting for your official version to be released as I
understand this is in process.

On Sun, 17 Sept, 2023, 5:11 pm Guenther Sohler, <
guenther.sohler@gmail.com> wrote:

Hi Sanjeev,

my openscad  fork is not more difficult to install than the original
ones.
It's also as easy as running the windows installer.
One advantage of my fork against other openscad python-wrappers is:
As python is sitting right inside openscad, Scenarios like altering
point data become possible like that

c=complicated_solid();
pts,tris = c.mesh()

alter pts ...

new_solid = polyhedron(pts, tris)

This is definitely not possible with any external python openscad
wrapper solution ...

cheers ...

On Sun, Sep 17, 2023 at 1:22 PM Sanjeev Prabhakar <
sprabhakar2006@gmail.com> wrote:

Today I tried vscode for writing python code and generating
openSCAD files and it is much simpler to install and use.

here is the link to a small video.

https://github.com/sprabhakar2006/openSCAD/blob/main/videos/vcsforpython.mov


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


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


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

I got it to build and run in WSL2/Ubuntu. git clone https://github.com/gsohler/openscad.git cd openscad git checkout python git submodule update --init --recursive ./scripts/check-dependencies.sh sudo apt install libcrypto++-dev mkdir build cd build cmake -DEXPERIMENTAL=1 -DENABLE_PYTHON=1 -DENABLE_LIBFIVE=1 .. make sudo make install The last step fails because it wants superuser privileges to move the executable into /usr/local/bin, but it runs just fine. On Sun, Sep 17, 2023 at 3:10 PM Father Horton <fatherhorton@gmail.com> wrote: > I have read that, but I'm still getting errors. Right now, it's having > trouble finding the right QT libraries. > > On Sun, Sep 17, 2023 at 2:57 PM Guenther Sohler <guenther.sohler@gmail.com> > wrote: > >> Sanjeev, >> >> I won't be able to resolve the issues with the MacOS build, >> Unfortunately I dont own any mac and it doesn't look yet like somebody >> would sponsor me one for the purpose of create MacOS builds >> >> But I have found that there is some instructions how to compile for MacOS >> at >> >> https://github.com/openscad/openscad/blob/master/README.md#building-for-macos >> >> Anybody who is interested to test something new will get full support >> from my side ... >> >> >> >> On Sun, Sep 17, 2023 at 5:49 PM Sanjeev Prabhakar < >> sprabhakar2006@gmail.com> wrote: >> >>> So till the time you resolve all the issues, you can try vs code. >>> I found it to be much simpler . >>> >>> >>> On Sun, 17 Sept, 2023, 9:11 pm Father Horton, <fatherhorton@gmail.com> >>> wrote: >>> >>>> The problem is that some of the needed libraries conflict with the >>>> native MacOS ones, and I need to sort out how to point to the right >>>> versions. >>>> >>>> On Sun, Sep 17, 2023 at 9:43 AM Father Horton <fatherhorton@gmail.com> >>>> wrote: >>>> >>>>> I've been trying to build it on my MacBook Air, but haven't succeeded >>>>> yet. >>>>> >>>>> On Sun, Sep 17, 2023 at 8:06 AM Sanjeev Prabhakar < >>>>> sprabhakar2006@gmail.com> wrote: >>>>> >>>>>> Hi Guenther, >>>>>> >>>>>> Does it work on macbook air? >>>>>> I think , I looked at it sometime ago, but was not very clear on how >>>>>> to install it. >>>>>> >>>>>> Also, how to use my python library after installation is another >>>>>> point, I wanted to understand. >>>>>> >>>>>> So I was just waiting for your official version to be released as I >>>>>> understand this is in process. >>>>>> >>>>>> On Sun, 17 Sept, 2023, 5:11 pm Guenther Sohler, < >>>>>> guenther.sohler@gmail.com> wrote: >>>>>> >>>>>>> Hi Sanjeev, >>>>>>> >>>>>>> my openscad fork is not more difficult to install than the original >>>>>>> ones. >>>>>>> It's also as easy as running the windows installer. >>>>>>> One advantage of my fork against other openscad python-wrappers is: >>>>>>> As python is sitting right inside openscad, Scenarios like altering >>>>>>> point data become possible like that >>>>>>> >>>>>>> c=complicated_solid(); >>>>>>> pts,tris = c.mesh() >>>>>>> # alter pts ... >>>>>>> new_solid = polyhedron(pts, tris) >>>>>>> >>>>>>> This is definitely not possible with any external python openscad >>>>>>> wrapper solution ... >>>>>>> >>>>>>> cheers ... >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> On Sun, Sep 17, 2023 at 1:22 PM Sanjeev Prabhakar < >>>>>>> sprabhakar2006@gmail.com> wrote: >>>>>>> >>>>>>>> Today I tried vscode for writing python code and generating >>>>>>>> openSCAD files and it is much simpler to install and use. >>>>>>>> >>>>>>>> here is the link to a small video. >>>>>>>> >>>>>>>> https://github.com/sprabhakar2006/openSCAD/blob/main/videos/vcsforpython.mov >>>>>>>> _______________________________________________ >>>>>>>> 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 >>>>>>> >>>>>> _______________________________________________ >>>>>> 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 >>>> >>> _______________________________________________ >>> 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 >> >
FH
Father Horton
Sat, Sep 23, 2023 12:47 PM

I have "sudo make install" in the instructions but didn't type "sudo" for
the command. Oops.

On Sat, Sep 23, 2023 at 7:43 AM Father Horton fatherhorton@gmail.com
wrote:

I got it to build and run in WSL2/Ubuntu.

git clone https://github.com/gsohler/openscad.git
cd openscad
git checkout python
git submodule update --init --recursive
./scripts/check-dependencies.sh
sudo apt install libcrypto++-dev
mkdir build
cd build
cmake -DEXPERIMENTAL=1 -DENABLE_PYTHON=1 -DENABLE_LIBFIVE=1 ..
make
sudo make install

The last step fails because it wants superuser privileges to move the
executable into /usr/local/bin, but it runs just fine.

On Sun, Sep 17, 2023 at 3:10 PM Father Horton fatherhorton@gmail.com
wrote:

I have read that, but I'm still getting errors. Right now, it's having
trouble finding the right QT libraries.

On Sun, Sep 17, 2023 at 2:57 PM Guenther Sohler <
guenther.sohler@gmail.com> wrote:

Sanjeev,

I won't be able to resolve the issues with the MacOS build,
Unfortunately I dont own any mac and it doesn't look yet like somebody
would sponsor me one for the purpose of create MacOS builds

But I have found that there is some instructions how to compile for MacOS
at

https://github.com/openscad/openscad/blob/master/README.md#building-for-macos

Anybody who is interested to test something new will get full support
from my side ...

On Sun, Sep 17, 2023 at 5:49 PM Sanjeev Prabhakar <
sprabhakar2006@gmail.com> wrote:

So till the time you resolve all the issues, you can try vs code.
I found it to be much simpler .

On Sun, 17 Sept, 2023, 9:11 pm Father Horton, fatherhorton@gmail.com
wrote:

The problem is that some of the needed libraries conflict with the
native MacOS ones, and I need to sort out how to point to the right
versions.

On Sun, Sep 17, 2023 at 9:43 AM Father Horton fatherhorton@gmail.com
wrote:

I've been trying to build it on my MacBook Air, but haven't succeeded
yet.

On Sun, Sep 17, 2023 at 8:06 AM Sanjeev Prabhakar <
sprabhakar2006@gmail.com> wrote:

Hi Guenther,

Does it work on macbook air?
I think , I looked at it sometime ago, but was not very clear on how
to install it.

Also, how to use my python library after installation is another
point, I wanted to understand.

So I was just waiting for your official version to be released as I
understand this is in process.

On Sun, 17 Sept, 2023, 5:11 pm Guenther Sohler, <
guenther.sohler@gmail.com> wrote:

Hi Sanjeev,

my openscad  fork is not more difficult to install than the
original ones.
It's also as easy as running the windows installer.
One advantage of my fork against other openscad python-wrappers is:
As python is sitting right inside openscad, Scenarios like altering
point data become possible like that

c=complicated_solid();
pts,tris = c.mesh()

alter pts ...

new_solid = polyhedron(pts, tris)

This is definitely not possible with any external python openscad
wrapper solution ...

cheers ...

On Sun, Sep 17, 2023 at 1:22 PM Sanjeev Prabhakar <
sprabhakar2006@gmail.com> wrote:

Today I tried vscode for writing python code and generating
openSCAD files and it is much simpler to install and use.

here is the link to a small video.

https://github.com/sprabhakar2006/openSCAD/blob/main/videos/vcsforpython.mov


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


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


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

I have "sudo make install" in the instructions but didn't type "sudo" for the command. Oops. On Sat, Sep 23, 2023 at 7:43 AM Father Horton <fatherhorton@gmail.com> wrote: > I got it to build and run in WSL2/Ubuntu. > > git clone https://github.com/gsohler/openscad.git > cd openscad > git checkout python > git submodule update --init --recursive > ./scripts/check-dependencies.sh > sudo apt install libcrypto++-dev > mkdir build > cd build > cmake -DEXPERIMENTAL=1 -DENABLE_PYTHON=1 -DENABLE_LIBFIVE=1 .. > make > sudo make install > > The last step fails because it wants superuser privileges to move the > executable into /usr/local/bin, but it runs just fine. > > On Sun, Sep 17, 2023 at 3:10 PM Father Horton <fatherhorton@gmail.com> > wrote: > >> I have read that, but I'm still getting errors. Right now, it's having >> trouble finding the right QT libraries. >> >> On Sun, Sep 17, 2023 at 2:57 PM Guenther Sohler < >> guenther.sohler@gmail.com> wrote: >> >>> Sanjeev, >>> >>> I won't be able to resolve the issues with the MacOS build, >>> Unfortunately I dont own any mac and it doesn't look yet like somebody >>> would sponsor me one for the purpose of create MacOS builds >>> >>> But I have found that there is some instructions how to compile for MacOS >>> at >>> >>> https://github.com/openscad/openscad/blob/master/README.md#building-for-macos >>> >>> Anybody who is interested to test something new will get full support >>> from my side ... >>> >>> >>> >>> On Sun, Sep 17, 2023 at 5:49 PM Sanjeev Prabhakar < >>> sprabhakar2006@gmail.com> wrote: >>> >>>> So till the time you resolve all the issues, you can try vs code. >>>> I found it to be much simpler . >>>> >>>> >>>> On Sun, 17 Sept, 2023, 9:11 pm Father Horton, <fatherhorton@gmail.com> >>>> wrote: >>>> >>>>> The problem is that some of the needed libraries conflict with the >>>>> native MacOS ones, and I need to sort out how to point to the right >>>>> versions. >>>>> >>>>> On Sun, Sep 17, 2023 at 9:43 AM Father Horton <fatherhorton@gmail.com> >>>>> wrote: >>>>> >>>>>> I've been trying to build it on my MacBook Air, but haven't succeeded >>>>>> yet. >>>>>> >>>>>> On Sun, Sep 17, 2023 at 8:06 AM Sanjeev Prabhakar < >>>>>> sprabhakar2006@gmail.com> wrote: >>>>>> >>>>>>> Hi Guenther, >>>>>>> >>>>>>> Does it work on macbook air? >>>>>>> I think , I looked at it sometime ago, but was not very clear on how >>>>>>> to install it. >>>>>>> >>>>>>> Also, how to use my python library after installation is another >>>>>>> point, I wanted to understand. >>>>>>> >>>>>>> So I was just waiting for your official version to be released as I >>>>>>> understand this is in process. >>>>>>> >>>>>>> On Sun, 17 Sept, 2023, 5:11 pm Guenther Sohler, < >>>>>>> guenther.sohler@gmail.com> wrote: >>>>>>> >>>>>>>> Hi Sanjeev, >>>>>>>> >>>>>>>> my openscad fork is not more difficult to install than the >>>>>>>> original ones. >>>>>>>> It's also as easy as running the windows installer. >>>>>>>> One advantage of my fork against other openscad python-wrappers is: >>>>>>>> As python is sitting right inside openscad, Scenarios like altering >>>>>>>> point data become possible like that >>>>>>>> >>>>>>>> c=complicated_solid(); >>>>>>>> pts,tris = c.mesh() >>>>>>>> # alter pts ... >>>>>>>> new_solid = polyhedron(pts, tris) >>>>>>>> >>>>>>>> This is definitely not possible with any external python openscad >>>>>>>> wrapper solution ... >>>>>>>> >>>>>>>> cheers ... >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> On Sun, Sep 17, 2023 at 1:22 PM Sanjeev Prabhakar < >>>>>>>> sprabhakar2006@gmail.com> wrote: >>>>>>>> >>>>>>>>> Today I tried vscode for writing python code and generating >>>>>>>>> openSCAD files and it is much simpler to install and use. >>>>>>>>> >>>>>>>>> here is the link to a small video. >>>>>>>>> >>>>>>>>> https://github.com/sprabhakar2006/openSCAD/blob/main/videos/vcsforpython.mov >>>>>>>>> _______________________________________________ >>>>>>>>> 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 >>>>>>>> >>>>>>> _______________________________________________ >>>>>>> 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 >>>>> >>>> _______________________________________________ >>>> 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 >>> >>