discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

OpenSCAD on Raspberry PI

TP
Torsten Paul
Mon, Jun 15, 2020 10:06 PM

There's now a snapshot AppImage build available which
runs on the hopefully soon to be released Raspberry PI
OS 64-bit.

https://www.openscad.org/downloads.html#snapshots

This includes all the cool new features, like the jump
to code from the 3d view.
(Edit->Preferences->Features->mouse-selection)

ciao,
Torsten.

There's now a snapshot AppImage build available which runs on the hopefully soon to be released Raspberry PI OS 64-bit. https://www.openscad.org/downloads.html#snapshots This includes all the cool new features, like the jump to code from the 3d view. (Edit->Preferences->Features->mouse-selection) ciao, Torsten.
L
lar3ry
Mon, Jun 15, 2020 11:25 PM

Darn! I just drooled all over my keyboard!

--
Sent from: http://forum.openscad.org/

Darn! I just drooled all over my keyboard! -- Sent from: http://forum.openscad.org/
RW
Rob Ward
Tue, Jun 16, 2020 2:15 AM

That is awesome! Just ordered my RPi4B8G today!!
Cheers, RobW

On 16 June 2020 8:06:43 am AEST, Torsten Paul Torsten.Paul@gmx.de wrote:

There's now a snapshot AppImage build available which
runs on the hopefully soon to be released Raspberry PI
OS 64-bit.

https://www.openscad.org/downloads.html#snapshots

This includes all the cool new features, like the jump
to code from the 3d view.
(Edit->Preferences->Features->mouse-selection)

ciao,
Torsten.


OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

That is awesome! Just ordered my RPi4B8G today!! Cheers, RobW On 16 June 2020 8:06:43 am AEST, Torsten Paul <Torsten.Paul@gmx.de> wrote: >There's now a snapshot AppImage build available which >runs on the hopefully soon to be released Raspberry PI >OS 64-bit. > >https://www.openscad.org/downloads.html#snapshots > >This includes all the cool new features, like the jump >to code from the 3d view. >(Edit->Preferences->Features->mouse-selection) > >ciao, > Torsten. > >_______________________________________________ >OpenSCAD mailing list >Discuss@lists.openscad.org >http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
RW
Rob Ward
Tue, Jun 16, 2020 2:17 AM

Ooops key slip, 4G 😡
Cheers, RobW

On 16 June 2020 9:25:27 am AEST, lar3ry lar3ry@sasktel.net wrote:

Darn! I just drooled all over my keyboard!

--
Sent from: http://forum.openscad.org/


OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

Ooops key slip, 4G 😡 Cheers, RobW On 16 June 2020 9:25:27 am AEST, lar3ry <lar3ry@sasktel.net> wrote: >Darn! I just drooled all over my keyboard! > > > > >-- >Sent from: http://forum.openscad.org/ > >_______________________________________________ >OpenSCAD mailing list >Discuss@lists.openscad.org >http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
M
MichaelAtOz
Tue, Jun 16, 2020 3:35 AM

Does this overcome OpenGL ES


Admin - email* me if you need anything,  or if I've done something stupid...

  • click on my MichaelAtOz label, there is a link to email me.

Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above.

--
Sent from: http://forum.openscad.org/

Does this overcome OpenGL ES ----- Admin - email* me if you need anything, or if I've done something stupid... * click on my MichaelAtOz label, there is a link to email me. Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above. -- Sent from: http://forum.openscad.org/
A
arnholm@arnholm.org
Tue, Jun 16, 2020 10:06 AM

On 2020-06-16 00:06, Torsten Paul wrote:

There's now a snapshot AppImage build available which
runs on the hopefully soon to be released Raspberry PI
OS 64-bit.

Thanks for the information!

Although the news about 64bit Raspbian is indeed very interesting (I do
have a Rasberry Pi 4), I wonder why one would attempt to run OpenSCAD on
it? What is the benefit compared to running OpenSCAD on a regular PC,
considering that OpensCAD is taxing the CPU heavily?

I recently created a system for automatic configuration of a cross
compiler for Raspberry PI, so I imagine it will be possible to use it
for the new 64bit OS once it is released, see
https://github.com/arnholm/cross-pi . Then I guess you can cross-compile
OpenSCAD or AngelCAD to create native executables for Raspberry PI 64,
but I still don't see why you would run CPU heavy applications on that
hardware.

Some background info: I also have the original Raspberry PI Model B (now
5 years old) controlling my 3d Printer using OctoPrint. I run KISSlicer
on Linux or Windows to create gcode files that are uploaded to OctoPrint
on the old Raspberry PI. This works great so I am curious as to why
there is a need for OpenSCAD to run on a Raspberry PI (any model/OS).

Carsten Arnholm

On 2020-06-16 00:06, Torsten Paul wrote: > There's now a snapshot AppImage build available which > runs on the hopefully soon to be released Raspberry PI > OS 64-bit. Thanks for the information! Although the news about 64bit Raspbian is indeed very interesting (I do have a Rasberry Pi 4), I wonder why one would attempt to run OpenSCAD on it? What is the benefit compared to running OpenSCAD on a regular PC, considering that OpensCAD is taxing the CPU heavily? I recently created a system for automatic configuration of a cross compiler for Raspberry PI, so I imagine it will be possible to use it for the new 64bit OS once it is released, see https://github.com/arnholm/cross-pi . Then I guess you can cross-compile OpenSCAD or AngelCAD to create native executables for Raspberry PI 64, but I still don't see why you would run CPU heavy applications on that hardware. Some background info: I also have the original Raspberry PI Model B (now 5 years old) controlling my 3d Printer using OctoPrint. I run KISSlicer on Linux or Windows to create gcode files that are uploaded to OctoPrint on the old Raspberry PI. This works great so I am curious as to why there is a need for OpenSCAD to run on a Raspberry PI (any model/OS). Carsten Arnholm
NH
nop head
Tue, Jun 16, 2020 11:42 AM

Yes I was wondering the same thing. My PC is a few years old now but
OpenSCAD is the only program I wish it was faster for. I do have a faster
Linux machine but I develop using a database on Google Drive and Google
don't do a Linux version.

On Tue, 16 Jun 2020 at 11:06, arnholm@arnholm.org wrote:

On 2020-06-16 00:06, Torsten Paul wrote:

There's now a snapshot AppImage build available which
runs on the hopefully soon to be released Raspberry PI
OS 64-bit.

Thanks for the information!

Although the news about 64bit Raspbian is indeed very interesting (I do
have a Rasberry Pi 4), I wonder why one would attempt to run OpenSCAD on
it? What is the benefit compared to running OpenSCAD on a regular PC,
considering that OpensCAD is taxing the CPU heavily?

I recently created a system for automatic configuration of a cross
compiler for Raspberry PI, so I imagine it will be possible to use it
for the new 64bit OS once it is released, see
https://github.com/arnholm/cross-pi . Then I guess you can cross-compile
OpenSCAD or AngelCAD to create native executables for Raspberry PI 64,
but I still don't see why you would run CPU heavy applications on that
hardware.

Some background info: I also have the original Raspberry PI Model B (now
5 years old) controlling my 3d Printer using OctoPrint. I run KISSlicer
on Linux or Windows to create gcode files that are uploaded to OctoPrint
on the old Raspberry PI. This works great so I am curious as to why
there is a need for OpenSCAD to run on a Raspberry PI (any model/OS).

Carsten Arnholm


OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

Yes I was wondering the same thing. My PC is a few years old now but OpenSCAD is the only program I wish it was faster for. I do have a faster Linux machine but I develop using a database on Google Drive and Google don't do a Linux version. On Tue, 16 Jun 2020 at 11:06, <arnholm@arnholm.org> wrote: > On 2020-06-16 00:06, Torsten Paul wrote: > > There's now a snapshot AppImage build available which > > runs on the hopefully soon to be released Raspberry PI > > OS 64-bit. > > Thanks for the information! > > Although the news about 64bit Raspbian is indeed very interesting (I do > have a Rasberry Pi 4), I wonder why one would attempt to run OpenSCAD on > it? What is the benefit compared to running OpenSCAD on a regular PC, > considering that OpensCAD is taxing the CPU heavily? > > I recently created a system for automatic configuration of a cross > compiler for Raspberry PI, so I imagine it will be possible to use it > for the new 64bit OS once it is released, see > https://github.com/arnholm/cross-pi . Then I guess you can cross-compile > OpenSCAD or AngelCAD to create native executables for Raspberry PI 64, > but I still don't see why you would run CPU heavy applications on that > hardware. > > Some background info: I also have the original Raspberry PI Model B (now > 5 years old) controlling my 3d Printer using OctoPrint. I run KISSlicer > on Linux or Windows to create gcode files that are uploaded to OctoPrint > on the old Raspberry PI. This works great so I am curious as to why > there is a need for OpenSCAD to run on a Raspberry PI (any model/OS). > > Carsten Arnholm > > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org >
M
MathLover
Tue, Jun 16, 2020 12:04 PM

cacb wrote

What is the benefit compared to running OpenSCAD on a regular PC,
considering that OpensCAD is taxing the CPU heavily?

I think that running OpenSCAD on a PI would make it possible to develop a
machine that can print simple thing on demand, by using the PI as a
controller of a 3d printer, and having a design with a few parameters. Off
course you would need the design to remain small (in print size) and not too
complex (for the PI), but it would be a nice geeky machine to use on, for
example, festivals.

The print time would suggest that you would then build a few of these
machines, so cheap and small  computers like the PI would be excellent for
the job.

--
Sent from: http://forum.openscad.org/

cacb wrote > What is the benefit compared to running OpenSCAD on a regular PC, > considering that OpensCAD is taxing the CPU heavily? I think that running OpenSCAD on a PI would make it possible to develop a machine that can print simple thing on demand, by using the PI as a controller of a 3d printer, and having a design with a few parameters. Off course you would need the design to remain small (in print size) and not too complex (for the PI), but it would be a nice geeky machine to use on, for example, festivals. The print time would suggest that you would then build a few of these machines, so cheap and small computers like the PI would be excellent for the job. -- Sent from: http://forum.openscad.org/
RW
Ron Wheeler
Tue, Jun 16, 2020 12:56 PM

The Pi4 with 4gb should be able handle a pretty good sized model.
OpenSCAD can run under Windows which eats up most of the CPU anyway so
it should run fine on Linux on a Pi!!!

The Pi4 has a modern chip with multiple cores and has a solid state sd
card for file access so it should be quick.

I am not sure how small is "small" or why it should matter but a Pi
should be able to drive a 3D printer without breaking a sweat.

It does give someone a dedicated CAD station for a very low price.

I would be tempted to use it the other way - as a dedicated processor
with no screen or a shared monitor for rendering big models and freeing
up a main cad station for design work.
If you are really productive, get 2 Pi4s and keep them busy. With a
shared screen that can handle multiple hdmi inputs, a USB switch for the
mouse and keyboard and an NSF server for shared disk access one could
work very quickly and never wait for a long render.
Might even be possible to write a script that tells the Pis to look in a
directory for new updated files and automatically start the render.

They are so powerful and so cheap and compact that you can do a lot with
them.

I have been at the software business for so long that I remember
supporting engineers doing full parametric 3D CAD on workstations where
memory was measured in megabytes not gigabytes and CPU speeds were
measures in thousands of floating point operations per second.

Ron

On 2020-06-16 8:04 a.m., MathLover wrote:

cacb wrote

What is the benefit compared to running OpenSCAD on a regular PC,
considering that OpensCAD is taxing the CPU heavily?

I think that running OpenSCAD on a PI would make it possible to develop a
machine that can print simple thing on demand, by using the PI as a
controller of a 3d printer, and having a design with a few parameters. Off
course you would need the design to remain small (in print size) and not too
complex (for the PI), but it would be a nice geeky machine to use on, for
example, festivals.

The print time would suggest that you would then build a few of these
machines, so cheap and small  computers like the PI would be excellent for
the job.

--
Sent from: http://forum.openscad.org/


OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

--
Ron Wheeler
Artifact Software
438-345-3369
rwheeler@artifact-software.com

The Pi4 with 4gb should be able handle a pretty good sized model. OpenSCAD can run under Windows which eats up most of the CPU anyway so it should run fine on Linux on a Pi!!! The Pi4 has a modern chip with multiple cores and has a solid state sd card for file access so it should be quick. I am not sure how small is "small" or why it should matter but a Pi should be able to drive a 3D printer without breaking a sweat. It does give someone a dedicated CAD station for a very low price. I would be tempted to use it the other way - as a dedicated processor with no screen or a shared monitor for rendering big models and freeing up a main cad station for design work. If you are really productive, get 2 Pi4s and keep them busy. With a shared screen that can handle multiple hdmi inputs, a USB switch for the mouse and keyboard and an NSF server for shared disk access one could work very quickly and never wait for a long render. Might even be possible to write a script that tells the Pis to look in a directory for new updated files and automatically start the render. They are so powerful and so cheap and compact that you can do a lot with them. I have been at the software business for so long that I remember supporting engineers doing full parametric 3D CAD on workstations where memory was measured in megabytes not gigabytes and CPU speeds were measures in thousands of floating point operations per second. Ron On 2020-06-16 8:04 a.m., MathLover wrote: > cacb wrote >> What is the benefit compared to running OpenSCAD on a regular PC, >> considering that OpensCAD is taxing the CPU heavily? > I think that running OpenSCAD on a PI would make it possible to develop a > machine that can print simple thing on demand, by using the PI as a > controller of a 3d printer, and having a design with a few parameters. Off > course you would need the design to remain small (in print size) and not too > complex (for the PI), but it would be a nice geeky machine to use on, for > example, festivals. > > The print time would suggest that you would then build a few of these > machines, so cheap and small computers like the PI would be excellent for > the job. > > > > > -- > Sent from: http://forum.openscad.org/ > > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org -- Ron Wheeler Artifact Software 438-345-3369 rwheeler@artifact-software.com
DM
Doug Moen
Tue, Jun 16, 2020 1:50 PM

On Tue, Jun 16, 2020, at 10:06 AM, arnholm@arnholm.org wrote:

Although the news about 64bit Raspbian is indeed very interesting (I do
have a Rasberry Pi 4), I wonder why one would attempt to run OpenSCAD on
it? What is the benefit compared to running OpenSCAD on a regular PC,
considering that OpensCAD is taxing the CPU heavily?

The Raspberry Pi 4 is super cheap, and super hackable.
It is very popular in makerspaces and in STEM education.
3D printers are also very popular in makerspaces and STEM.

OpenSCAD on Pi makes no sense if you are an industrial CAD designer,
but it makes a lot of sense in a school makerspace.

Windows-based desktops and laptops are a liability in a school
environment, because each machine is used by many students,
and managing the software environment (so that it can't be
corrupted or made unusable) is a heavy burden for teachers
and school IT people. In my school district, they use chromebooks.

A locked-down school chromebook will only allow you to use
CAD programs that run in a web browser. OpenSCAD doesn't
run in a web browser (but there are many alternatives that do).

I haven't tried running a Raspberry Pi based makerspace for kids.
But, I imagine that you can just give each student their own Pi,
and swap out the SD card if the OS gets corrupted.
The benefit of the Pi is full hackability (the opposite of a Chromebook).

Check out this Pi based laptop: https://www.pi-top.com/products/pi-top-3
This is how I imagine you'd use OpenSCAD for Pi.

On Tue, Jun 16, 2020, at 10:06 AM, arnholm@arnholm.org wrote: > Although the news about 64bit Raspbian is indeed very interesting (I do > have a Rasberry Pi 4), I wonder why one would attempt to run OpenSCAD on > it? What is the benefit compared to running OpenSCAD on a regular PC, > considering that OpensCAD is taxing the CPU heavily? The Raspberry Pi 4 is super cheap, and super hackable. It is very popular in makerspaces and in STEM education. 3D printers are also very popular in makerspaces and STEM. OpenSCAD on Pi makes no sense if you are an industrial CAD designer, but it makes a lot of sense in a school makerspace. Windows-based desktops and laptops are a liability in a school environment, because each machine is used by many students, and managing the software environment (so that it can't be corrupted or made unusable) is a heavy burden for teachers and school IT people. In my school district, they use chromebooks. A locked-down school chromebook will only allow you to use CAD programs that run in a web browser. OpenSCAD doesn't run in a web browser (but there are many alternatives that do). I haven't tried running a Raspberry Pi based makerspace for kids. But, I imagine that you can just give each student their own Pi, and swap out the SD card if the OS gets corrupted. The benefit of the Pi is full hackability (the opposite of a Chromebook). Check out this Pi based laptop: https://www.pi-top.com/products/pi-top-3 This is how I imagine you'd use OpenSCAD for Pi.