To the OpenSCAD developers. Please help the poor guys.

classic Classic list List threaded Threaded
16 messages Options
Reply | Threaded
Open this post in threaded view
|

To the OpenSCAD developers. Please help the poor guys.

jpmendes
To the OpenSCAD developers.

First of all thanks for your amazing work.
In the past August I started modelling  a real delta 3d printer, that I intend to publish for the community, based on an new idea I had some time ago. It has been a pain in the ... not because of OpenSCAD of course, debut because although a have a 6 core processor I do not have a 3D oriented graphics board. I'm a poor guy... So for the poor guys of this world please try to help.

My suggestions are:

1 - The scintilla editor should remember on startup the modules, functions, and instances that were collapsed in the previous session.
2 - Please add a command line to adjust the viewpoint. The lag between the action of the mouse and the display update drives me crazy.
3 - Automatic backup every time we press «F5» in order to be possible to kill the process if we are caught in a loop or extreme delay and not loose the work, recovering the work from the backup.
4 - Better than suggestion 3, would be to have a button to stop CSG tree compilation like the one for CGAL compilation.
5 - Even better than 4 would be the editor to be independent of the compilation processes. The CSG tree compilation could be done over an automatically generated backup copy of the actual file with a process running in background. If «F5» pressed again the background running process would be aborted a a new one started. Now I think I'm asking for too much ...

Any help to speed up things to the poor guys of this world is welcome.
Thanks.
Reply | Threaded
Open this post in threaded view
|

Re: To the OpenSCAD developers. Please help the poor guys.

Neon22
re 3.
     FWIW - I get an automatic F5 when I save.
     So instead of doing an F5 I do a ctrl-S.
     This way my file is always up to date (of course you have to manage
versions on disk).

On 9/11/2015 11:26 AM, jpmendes wrote:

> To the OpenSCAD developers.
>
> First of all thanks for your amazing work.
> In the past August I started modelling  a real delta 3d printer, that I
> intend to publish for the community, based on an new idea I had some time
> ago. It has been a pain in the ... not because of OpenSCAD of course, debut
> because although a have a 6 core processor I do not have a 3D oriented
> graphics board. I'm a poor guy... So for the poor guys of this world please
> try to help.
>
> My suggestions are:
>
> 1 - The scintilla editor should remember on startup the modules, functions,
> and instances that were collapsed in the previous session.
> 2 - Please add a command line to adjust the viewpoint. The lag between the
> action of the mouse and the display update drives me crazy.
> 3 - Automatic backup every time we press «F5» in order to be possible to
> kill the process if we are caught in a loop or extreme delay and not loose
> the work, recovering the work from the backup.
> 4 - Better than suggestion 3, would be to have a button to stop CSG tree
> compilation like the one for CGAL compilation.
> 5 - Even better than 4 would be the editor to be independent of the
> compilation processes. The CSG tree compilation could be done over an
> automatically generated backup copy of the actual file with a process
> running in background. If «F5» pressed again the background running process
> would be aborted a a new one started. Now I think I'm asking for too much
> ...
>
> Any help to speed up things to the poor guys of this world is welcome.
> Thanks.
>
>
>
> --
> View this message in context: http://forum.openscad.org/To-the-OpenSCAD-developers-Please-help-the-poor-guys-tp13760.html
> Sent from the OpenSCAD mailing list archive at Nabble.com.
>
> _______________________________________________
> OpenSCAD mailing list
> [hidden email]
> http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
>
>
> -----
> No virus found in this message.
> Checked by AVG - www.avg.com
> Version: 2015.0.6125 / Virus Database: 4419/10615 - Release Date: 09/10/15


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: To the OpenSCAD developers. Please help the poor guys.

jpmendes
Thanks, its better than nothing. I will try it although my «F5» is already instinctive.
Regards.
Reply | Threaded
Open this post in threaded view
|

Re: To the OpenSCAD developers. Please help the poor guys.

donbright
In reply to this post by jpmendes
Just curious... what kind of graphics do you have? Can you go to
help/library-info and paste it on pastebin or somewhere? How big is your
scad file (thousands of lines?).

--
  don bright
  [hidden email]

On Thu, Sep 10, 2015, at 06:26 PM, jpmendes wrote:

> To the OpenSCAD developers.
>
> First of all thanks for your amazing work.
> In the past August I started modelling  a real delta 3d printer, that I
> intend to publish for the community, based on an new idea I had some time
> ago. It has been a pain in the ... not because of OpenSCAD of course,
> debut
> because although a have a 6 core processor I do not have a 3D oriented
> graphics board. I'm a poor guy... So for the poor guys of this world
> please
> try to help.
>
> My suggestions are:
>
> 1 - The scintilla editor should remember on startup the modules,
> functions,
> and instances that were collapsed in the previous session.
> 2 - Please add a command line to adjust the viewpoint. The lag between
> the
> action of the mouse and the display update drives me crazy.
> 3 - Automatic backup every time we press «F5» in order to be possible to
> kill the process if we are caught in a loop or extreme delay and not
> loose
> the work, recovering the work from the backup.
> 4 - Better than suggestion 3, would be to have a button to stop CSG tree
> compilation like the one for CGAL compilation.
> 5 - Even better than 4 would be the editor to be independent of the
> compilation processes. The CSG tree compilation could be done over an
> automatically generated backup copy of the actual file with a process
> running in background. If «F5» pressed again the background running
> process
> would be aborted a a new one started. Now I think I'm asking for too much
> ...
>
> Any help to speed up things to the poor guys of this world is welcome.
> Thanks.
>
>
>
> --
> View this message in context:
> http://forum.openscad.org/To-the-OpenSCAD-developers-Please-help-the-poor-guys-tp13760.html
> Sent from the OpenSCAD mailing list archive at Nabble.com.
>
> _______________________________________________
> OpenSCAD mailing list
> [hidden email]
> http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: To the OpenSCAD developers. Please help the poor guys.

Chow Loong Jin
In reply to this post by jpmendes
On Thu, Sep 10, 2015 at 04:26:56PM -0700, jpmendes wrote:
> To the OpenSCAD developers.
>
> First of all thanks for your amazing work.
> In the past August I started modelling  a real delta 3d printer, that I
> intend to publish for the community, based on an new idea I had some time
> ago. It has been a pain in the ... not because of OpenSCAD of course, debut
> because although a have a 6 core processor I do not have a 3D oriented
> graphics board. I'm a poor guy... So for the poor guys of this world please
> try to help.

A powerful CPU (number of cores doesn't matter because CGAL is single-threaded)
goes further than a powerful graphics card for doing OpenSCAD stuff, actually.
I'm on a Core i7 Ivy Bridge machine with integrated graphics and 16GB of RAM.

> My suggestions are:
>
> 1 - The scintilla editor should remember on startup the modules, functions,
> and instances that were collapsed in the previous session.
> 2 - Please add a command line to adjust the viewpoint. The lag between the
> action of the mouse and the display update drives me crazy.
> 3 - Automatic backup every time we press «F5» in order to be possible to
> kill the process if we are caught in a loop or extreme delay and not loose
> the work, recovering the work from the backup.

I use emacs as my external editor and OpenSCAD as merely a viewer. If the F5
frame-rate is too slow, I do F6 instead, which gives me a much better view. If
all else fails, I export it to an stl using the command line (I have Makefiles
for my scad projects, so I can just use my editor's compile function for this)
and use Meshlab to view the part.

I really recommend using an external editor because at least for me, OpenSCAD
hangs while rendering complex objects, and it really drives me nuts to not be
able to do anything while waiting for the render.

> 4 - Better than suggestion 3, would be to have a button to stop CSG tree
> compilation like the one for CGAL compilation.
> 5 - Even better than 4 would be the editor to be independent of the
> compilation processes. The CSG tree compilation could be done over an
> automatically generated backup copy of the actual file with a process
> running in background. If «F5» pressed again the background running process
> would be aborted a a new one started. Now I think I'm asking for too much
> [...]

TL;DR: An external editor goes a long way to retaining your sanity while using
OpenSCAD.

--
Kind regards,
Loong Jin

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

signature.asc (836 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: To the OpenSCAD developers. Please help the poor guys.

nophead
If the F5 frame rate gets too low I add render() to the top level objects to get the speed back. The first F5 takes longer but after that it is faster as it simply uses the cached CGAL mesh.

On 11 September 2015 at 11:45, Chow Loong Jin <[hidden email]> wrote:
On Thu, Sep 10, 2015 at 04:26:56PM -0700, jpmendes wrote:
> To the OpenSCAD developers.
>
> First of all thanks for your amazing work.
> In the past August I started modelling  a real delta 3d printer, that I
> intend to publish for the community, based on an new idea I had some time
> ago. It has been a pain in the ... not because of OpenSCAD of course, debut
> because although a have a 6 core processor I do not have a 3D oriented
> graphics board. I'm a poor guy... So for the poor guys of this world please
> try to help.

A powerful CPU (number of cores doesn't matter because CGAL is single-threaded)
goes further than a powerful graphics card for doing OpenSCAD stuff, actually.
I'm on a Core i7 Ivy Bridge machine with integrated graphics and 16GB of RAM.

> My suggestions are:
>
> 1 - The scintilla editor should remember on startup the modules, functions,
> and instances that were collapsed in the previous session.
> 2 - Please add a command line to adjust the viewpoint. The lag between the
> action of the mouse and the display update drives me crazy.
> 3 - Automatic backup every time we press «F5» in order to be possible to
> kill the process if we are caught in a loop or extreme delay and not loose
> the work, recovering the work from the backup.

I use emacs as my external editor and OpenSCAD as merely a viewer. If the F5
frame-rate is too slow, I do F6 instead, which gives me a much better view. If
all else fails, I export it to an stl using the command line (I have Makefiles
for my scad projects, so I can just use my editor's compile function for this)
and use Meshlab to view the part.

I really recommend using an external editor because at least for me, OpenSCAD
hangs while rendering complex objects, and it really drives me nuts to not be
able to do anything while waiting for the render.

> 4 - Better than suggestion 3, would be to have a button to stop CSG tree
> compilation like the one for CGAL compilation.
> 5 - Even better than 4 would be the editor to be independent of the
> compilation processes. The CSG tree compilation could be done over an
> automatically generated backup copy of the actual file with a process
> running in background. If «F5» pressed again the background running process
> would be aborted a a new one started. Now I think I'm asking for too much
> [...]

TL;DR: An external editor goes a long way to retaining your sanity while using
OpenSCAD.

--
Kind regards,
Loong Jin

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org



_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: To the OpenSCAD developers. Please help the poor guys.

jpmendes
Thank you all for the suggestions.
I have an ASUS motherboard M5A78L-M/USB3 with embedded graphics ATI Radeon HD3000 and 8 GB of RAM. The ram allocated to the graphics is the maximum that the bios allows, 1 GB.
Code now is 1.2k lines with 60 modules.
Regards.
Reply | Threaded
Open this post in threaded view
|

Re: To the OpenSCAD developers. Please help the poor guys.

Matthew Caron
In reply to this post by jpmendes
Some thoughts:
 1. What 6 core CPU do you have which doesn't have an integrated GPU? If
it does, and you are not using it, it may be better than the video board
you have.
 2. I use an external editor and tell OpenSCAD to watch a file. Every
time I save the file, it reloads the model. Then you can use whatever
editor you like.

On 09/10/2015 07:26 PM, jpmendes wrote:

> To the OpenSCAD developers.
>
> First of all thanks for your amazing work.
> In the past August I started modelling  a real delta 3d printer, that I
> intend to publish for the community, based on an new idea I had some time
> ago. It has been a pain in the ... not because of OpenSCAD of course, debut
> because although a have a 6 core processor I do not have a 3D oriented
> graphics board. I'm a poor guy... So for the poor guys of this world please
> try to help.
>
> My suggestions are:
>
> 1 - The scintilla editor should remember on startup the modules, functions,
> and instances that were collapsed in the previous session.
> 2 - Please add a command line to adjust the viewpoint. The lag between the
> action of the mouse and the display update drives me crazy.
> 3 - Automatic backup every time we press «F5» in order to be possible to
> kill the process if we are caught in a loop or extreme delay and not loose
> the work, recovering the work from the backup.
> 4 - Better than suggestion 3, would be to have a button to stop CSG tree
> compilation like the one for CGAL compilation.
> 5 - Even better than 4 would be the editor to be independent of the
> compilation processes. The CSG tree compilation could be done over an
> automatically generated backup copy of the actual file with a process
> running in background. If «F5» pressed again the background running process
> would be aborted a a new one started. Now I think I'm asking for too much
> ...
>
> Any help to speed up things to the poor guys of this world is welcome.
> Thanks.
>
>
>
> --
> View this message in context: http://forum.openscad.org/To-the-OpenSCAD-developers-Please-help-the-poor-guys-tp13760.html
> Sent from the OpenSCAD mailing list archive at Nabble.com.
>
> _______________________________________________
> OpenSCAD mailing list
> [hidden email]
> http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
>

--
"When a self-governing people confer upon their government the power
to take money from some and give it to others, the process will not
stop until the last bone of the last taxpayer is picked bare."
                       -- Howard E. Kershner (Kershner's First Law)
PGP Key: http://www.mattcaron.net/pgp_key.txt
 ~~ Matt Caron ~~


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: To the OpenSCAD developers. Please help the poor guys.

jpmendes
Hi, the biggest problem with my preferred editor Notepad++ (I'm using windows) is that it do not recognize the opening and closing of curly braces correctly and do not collapse the entities correctly also. Even with OpenSCAD extension, that I found on Thingiverse, enabled it doesn't work well.
Reply | Threaded
Open this post in threaded view
|

Re: To the OpenSCAD developers. Please help the poor guys.

donbright
In reply to this post by jpmendes
is your scad file publicly available? it could help with testing...

--
  don bright
  [hidden email]

On Fri, Sep 11, 2015, at 10:16 AM, jpmendes wrote:

> Thank you all for the suggestions.
> I have an ASUS motherboard M5A78L-M/USB3 with embedded graphics ATI
> Radeon
> HD3000 and 8 GB of RAM. The ram allocated to the graphics is the maximum
> that the bios allows, 1 GB.
> Code now is 1.2k lines with 60 modules.
> Regards.
>
>
>
> --
> View this message in context:
> http://forum.openscad.org/To-the-OpenSCAD-developers-Please-help-the-poor-guys-tp13760p13770.html
> Sent from the OpenSCAD mailing list archive at Nabble.com.
>
> _______________________________________________
> OpenSCAD mailing list
> [hidden email]
> http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: To the OpenSCAD developers. Please help the poor guys.

Matthew Caron
In reply to this post by jpmendes
Emacs runs under Windows. :-)

On 09/11/2015 01:18 PM, jpmendes wrote:

> Hi, the biggest problem with my preferred editor Notepad++ (I'm using
> windows) is that it do not recognize the opening and closing of curly braces
> correctly and do not collapse the entities correctly also. Even with
> OpenSCAD extension, that I found on Thingiverse, enabled it doesn't work
> well.
>
>
>
>
> --
> View this message in context: http://forum.openscad.org/To-the-OpenSCAD-developers-Please-help-the-poor-guys-tp13760p13773.html
> Sent from the OpenSCAD mailing list archive at Nabble.com.
>
> _______________________________________________
> OpenSCAD mailing list
> [hidden email]
> http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
>

--
"When a self-governing people confer upon their government the power
to take money from some and give it to others, the process will not
stop until the last bone of the last taxpayer is picked bare."
                       -- Howard E. Kershner (Kershner's First Law)
PGP Key: http://www.mattcaron.net/pgp_key.txt
 ~~ Matt Caron ~~


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: To the OpenSCAD developers. Please help the poor guys.

G. Wade Johnson
On Fri, 11 Sep 2015 20:18:42 -0400
Matthew Caron <[hidden email]> wrote:

> Emacs runs under Windows. :-)

So does vim/gvim.<grin/>

> On 09/11/2015 01:18 PM, jpmendes wrote:
> > Hi, the biggest problem with my preferred editor Notepad++ (I'm
> > using windows) is that it do not recognize the opening and closing
> > of curly braces correctly and do not collapse the entities
> > correctly also. Even with OpenSCAD extension, that I found on
> > Thingiverse, enabled it doesn't work well.
> >
> >
> >
> >
> > --
> > View this message in context:
> > http://forum.openscad.org/To-the-OpenSCAD-developers-Please-help-the-poor-guys-tp13760p13773.html
> > Sent from the OpenSCAD mailing list archive at Nabble.com.
> >
> > _______________________________________________
> > OpenSCAD mailing list
> > [hidden email]
> > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
> >
>


--
They made a very satisfying thump when they hit the floor.
                            -- G'Kar - "A Late Delivery from Avalon"

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: To the OpenSCAD developers. Please help the poor guys.

jpmendes
In reply to this post by donbright
Hi,
I will publish my files only after building the first prototype and it proves well. Maybe within 1 to 2 months. I do not want to do a release that is a failure.
Thanks anyway.
Regards.
tp3
Reply | Threaded
Open this post in threaded view
|

Re: To the OpenSCAD developers. Please help the poor guys.

tp3
In reply to this post by jpmendes
On 09/11/2015 01:26 AM, jpmendes wrote:
> 2 - Please add a command line to adjust the viewpoint. The lag between the
> action of the mouse and the display update drives me crazy.
>
The (not yet finished) work on 3D mouse support also made it possible to
support also other ways of controlling the viewport. I've added a simple
DBus interface too which allows remote control. This will be only available
for Linux though. I have no idea if there are sensible options for the
other platforms.

> 3 - Automatic backup every time we press «F5» in order to be possible to
> kill the process if we are caught in a loop or extreme delay and not loose
> the work, recovering the work from the backup.
>
This is already there. Every time you compile a modified file, a backup
is made and that's mentioned as first line in the console window.
(e.g. "Saved backup file: /home/.local/share/OpenSCAD/backups/unsaved-backup-MTJ13858.scad")

> Any help to speed up things to the poor guys of this world is welcome.
>
The biggest improvements can usually be obtained by changing the code
to work around complexity issues for both graphics rendering (F5) and
mesh generation (F6).
Of cause it would be ideal if that would not be needed, but even with
all potential improvements to OpenSCAD, I suspect for very complex models
that will alway be the case.

ciao,
  Torsten.


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
-- Torsten
Reply | Threaded
Open this post in threaded view
|

Re: To the OpenSCAD developers. Please help the poor guys.

Len Trigg

Awesome! Can you add F6 render and save to STL  to the DBus interface too?

Cheers,
Len

On 14 Sep 2015 1:05 am, "Torsten Paul" <[hidden email]> wrote:
On 09/11/2015 01:26 AM, jpmendes wrote:
> 2 - Please add a command line to adjust the viewpoint. The lag between the
> action of the mouse and the display update drives me crazy.
>
The (not yet finished) work on 3D mouse support also made it possible to
support also other ways of controlling the viewport. I've added a simple
DBus interface too which allows remote control. This will be only available
for Linux though. I have no idea if there are sensible options for the
other platforms.

> 3 - Automatic backup every time we press «F5» in order to be possible to
> kill the process if we are caught in a loop or extreme delay and not loose
> the work, recovering the work from the backup.
>
This is already there. Every time you compile a modified file, a backup
is made and that's mentioned as first line in the console window.
(e.g. "Saved backup file: /home/.local/share/OpenSCAD/backups/unsaved-backup-MTJ13858.scad")

> Any help to speed up things to the poor guys of this world is welcome.
>
The biggest improvements can usually be obtained by changing the code
to work around complexity issues for both graphics rendering (F5) and
mesh generation (F6).
Of cause it would be ideal if that would not be needed, but even with
all potential improvements to OpenSCAD, I suspect for very complex models
that will alway be the case.

ciao,
  Torsten.


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
tp3
Reply | Threaded
Open this post in threaded view
|

Re: To the OpenSCAD developers. Please help the poor guys.

tp3
On 09/13/2015 09:21 PM, Len Trigg wrote:
> Awesome! Can you add F6 render and save to STL  to the DBus interface too?
>
Yes, actually any menu/toolbar action is available too as the button
input events are mapped to existing UI actions. The question is how
to add parameters (e.g. for the export actions).

ciao,
  Torsten.




_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
-- Torsten