F5 works, then after an error, stops

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

F5 works, then after an error, stops

RobWLakes
Hi folks,

This has been annoying me for ages, but I had assumed I was at fault
somewhere and I would come across the answer all in good time. However I
tried to track down my error today, but no amount of searching could solve
it.

If I make a simple script like this to illustrate:

$fn=30;
difference(){
  color("red") cube([4,5,6]);
  color("blue") cylinder(12,3,3);
}
color("green") cube([1,1,16],true);

and as I added the the three elements, at each stage I could preview with F5
and render with F6.

However once I deliberately spelled "green" as "gree", in the last line, I
got an error as expected with F5. F6 did its best and showed the first two
elements and also reported the error for the third.

This where my confusion comes in, as after returning color to "green", the
F5 no longer renders anything, though F6 renders all three elements
properly.  If I save the file, and reload it, F5 will work again. I have
tried Flushing the Caches, but that does not help.

What am I missing?

Rob
 
Using: Ubuntu (16.04.4LTS) Mate, and openSCAD 2015.03-2



-----
Rob W
Lake Tyers Beach,
Victoria, Australia
--
Sent from: http://forum.openscad.org/

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Rob W
Lake Tyers Beach,
Victoria, Australia
Reply | Threaded
Open this post in threaded view
|

Re: F5 works, then after an error, stops

louijp
Hi Rob,

Is there any good reason for you to use such an old revision of OpenSCAD?

We are in 2018 and you still use an early 2015 version.
Upgrade to a newer one. I cannot reproduce your error with my setup.

My $0.02,
Jean-Paul
N1JPL


> On Mar 15, 2018, at 11:47 PM, RobWLakes <[hidden email]> wrote:
>
> Hi folks,
>
> This has been annoying me for ages, but I had assumed I was at fault
> somewhere and I would come across the answer all in good time. However I
> tried to track down my error today, but no amount of searching could solve
> it.
>
> If I make a simple script like this to illustrate:
>
> $fn=30;
> difference(){
>  color("red") cube([4,5,6]);
>  color("blue") cylinder(12,3,3);
> }
> color("green") cube([1,1,16],true);
>
> and as I added the the three elements, at each stage I could preview with F5
> and render with F6.
>
> However once I deliberately spelled "green" as "gree", in the last line, I
> got an error as expected with F5. F6 did its best and showed the first two
> elements and also reported the error for the third.
>
> This where my confusion comes in, as after returning color to "green", the
> F5 no longer renders anything, though F6 renders all three elements
> properly.  If I save the file, and reload it, F5 will work again. I have
> tried Flushing the Caches, but that does not help.
>
> What am I missing?
>
> Rob
>
> Using: Ubuntu (16.04.4LTS) Mate, and openSCAD 2015.03-2
>
>
>
> -----
> Rob W
> Lake Tyers Beach,
> Victoria, Australia
> --
> Sent from: http://forum.openscad.org/
>
> _______________________________________________
> 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: F5 works, then after an error, stops

jdawgaz
In reply to this post by RobWLakes
running  version: 2017.12.02 on osx Sierra
could not reproduce

73,

Jerry
--
Extra Ham Operator: K7AZJ
Registered Linux User: 275424
Raspberry Pi and 3D designer

The most exciting phrase to hear in science - the one that heralds new discoveries - is not "Eureka!" but "That's funny...".
- Isaac. Asimov


On Thu, Mar 15, 2018 at 8:47 PM, RobWLakes <[hidden email]> wrote:
Hi folks,

This has been annoying me for ages, but I had assumed I was at fault
somewhere and I would come across the answer all in good time. However I
tried to track down my error today, but no amount of searching could solve
it.

If I make a simple script like this to illustrate:

$fn=30;
difference(){
  color("red") cube([4,5,6]);
  color("blue") cylinder(12,3,3);
}
color("green") cube([1,1,16],true);

and as I added the the three elements, at each stage I could preview with F5
and render with F6.

However once I deliberately spelled "green" as "gree", in the last line, I
got an error as expected with F5. F6 did its best and showed the first two
elements and also reported the error for the third.

This where my confusion comes in, as after returning color to "green", the
F5 no longer renders anything, though F6 renders all three elements
properly.  If I save the file, and reload it, F5 will work again. I have
tried Flushing the Caches, but that does not help.

What am I missing?

Rob

Using: Ubuntu (16.04.4LTS) Mate, and openSCAD 2015.03-2



-----
Rob W
Lake Tyers Beach,
Victoria, Australia
--
Sent from: http://forum.openscad.org/

_______________________________________________
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: F5 works, then after an error, stops

RobWLakes

I am looking at this page http://www.openscad.org/downloads.html

I cannot find your version?  I am not a Linux hot-shot so any help would be greatly appreciated.

Cheers.


On 16/03/18 15:22, Jerry Davis wrote:
running  version: 2017.12.02 on osx Sierra
could not reproduce

73,

Jerry
--
Extra Ham Operator: K7AZJ
Registered Linux User: 275424
Raspberry Pi and 3D designer

The most exciting phrase to hear in science - the one that heralds new discoveries - is not "Eureka!" but "That's funny...".
- Isaac. Asimov


On Thu, Mar 15, 2018 at 8:47 PM, RobWLakes <[hidden email]> wrote:
Hi folks,

This has been annoying me for ages, but I had assumed I was at fault
somewhere and I would come across the answer all in good time. However I
tried to track down my error today, but no amount of searching could solve
it.

If I make a simple script like this to illustrate:

$fn=30;
difference(){
  color("red") cube([4,5,6]);
  color("blue") cylinder(12,3,3);
}
color("green") cube([1,1,16],true);

and as I added the the three elements, at each stage I could preview with F5
and render with F6.

However once I deliberately spelled "green" as "gree", in the last line, I
got an error as expected with F5. F6 did its best and showed the first two
elements and also reported the error for the third.

This where my confusion comes in, as after returning color to "green", the
F5 no longer renders anything, though F6 renders all three elements
properly.  If I save the file, and reload it, F5 will work again. I have
tried Flushing the Caches, but that does not help.

What am I missing?

Rob

Using: Ubuntu (16.04.4LTS) Mate, and openSCAD 2015.03-2

_______________________________________________
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

--

Rob Ward
Lake Tyers Beach, 3909
Lake Tyers Beach Website
Ubuntu Mate - A great OS


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Rob W
Lake Tyers Beach,
Victoria, Australia
Reply | Threaded
Open this post in threaded view
|

Re: F5 works, then after an error, stops

MichaelAtOz
Administrator
I couldn't reproduce on Windows.
To me it suggests a display driver issue. Check for a newer version.
Also log your Help-Library-info.



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

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.

The TPP is no simple “trade agreement.”   Fight it! http://www.ourfairdeal.org/   time is running out!
--
Sent from: http://forum.openscad.org/

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
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.


The TPP is no simple “trade agreement.” Fight it! http://www.ourfairdeal.org/ time is running out!
Reply | Threaded
Open this post in threaded view
|

Re: F5 works, then after an error, stops

RobWLakes

Thanks Michael for that suggestion, here is the info.

I have followed the advice on the OpenSCAD page to allow updating from repositories but that does not seemed to have helped.

Cheers, Rob

OpenSCAD Version: 2015.03-2 System information: Linux 4.4.0-116-generic #140-Ubuntu SMP Mon Feb 12 21:23:04 UTC 2018 x86_64 Ubuntu 16.04.4 LTS 4 CPUs 3.85 GB RAM Compiler: GCC "5.4.0 20160609" 64bit Boost version: 1_58 Eigen version: 3.2.92 CGAL version, kernels: 4.7, Cartesian, Extended_cartesian, Epeck OpenCSG version: OpenCSG 1.4.0 Qt version: 5.5.1 QScintilla version: 2.9.1 MingW build: No GLib version: 2.48.1 Application Path: /usr/bin Documents Path: /home/rob/.local/share Resource Path: /usr/share/openscad User Library Path: /home/rob/.local/share/OpenSCAD/libraries User Config Path: /home/rob/.config/OpenSCAD Backup Path: /home/rob/.local/share/OpenSCAD/backups OPENSCADPATH: OpenSCAD library path: /home/rob/.local/share/OpenSCAD/libraries /usr/share/openscad/libraries OPENSCAD_FONT_PATH: OpenSCAD font path: GLEW version: 1.13.0 OpenGL Version: 3.0 Mesa 17.2.8 GL Renderer: NVD9 GL Vendor: nouveau RGBA(8880), depth(0), stencil(0) GL_ARB_framebuffer_object: yes GL_EXT_framebuffer_object: yes GL_EXT_packed_depth_stencil: yes Using QOpenGLWidget GL Extensions: GL_AMD_conservative_depth

etc etc etc, I trust you will not need these?

GL_SGIS_texture_lod GL_SUN_multi_draw_arrays


On 16/03/18 16:21, MichaelAtOz wrote:
I couldn't reproduce on Windows.
To me it suggests a display driver issue. Check for a newer version.
Also log your Help-Library-info.



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

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.

The TPP is no simple “trade agreement.”   Fight it! http://www.ourfairdeal.org/   time is running out!
--
Sent from: http://forum.openscad.org/

_______________________________________________
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
Rob W
Lake Tyers Beach,
Victoria, Australia
Reply | Threaded
Open this post in threaded view
|

Re: F5 works, then after an error, stops

NateTG
In reply to this post by RobWLakes
RobWLakes wrote

> ...
>
> This where my confusion comes in, as after returning color to "green", the
> F5 no longer renders anything, though F6 renders all three elements
> properly.  If I save the file, and reload it, F5 will work again. I have
> tried Flushing the Caches, but that does not help.
>
> What am I missing?
>
> Rob
>  
> Using: Ubuntu (16.04.4LTS) Mate, and openSCAD 2015.03-2
> ...

I'm experiencing a similar issue with a 2018 build on Debian.  I think it's
worth an error report on github.  I wonder if it's some kind of issue with a
rendering cache.





--
Sent from: http://forum.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: F5 works, then after an error, stops

codifies
I've seen it just occasionally, I'm periodically upto date with
github... (on Void Linux)

can't reliably reproduce so just wrote it off as "one of those things" I
assume its an OpenCSG issue??

restarting always resolves it for me...


On 16/03/18 16:03, NateTG wrote:

> RobWLakes wrote
>> ...
>>
>> This where my confusion comes in, as after returning color to "green", the
>> F5 no longer renders anything, though F6 renders all three elements
>> properly.  If I save the file, and reload it, F5 will work again. I have
>> tried Flushing the Caches, but that does not help.
>>
>> What am I missing?
>>
>> Rob
>>  
>> Using: Ubuntu (16.04.4LTS) Mate, and openSCAD 2015.03-2
>> ...
> I'm experiencing a similar issue with a 2018 build on Debian.  I think it's
> worth an error report on github.  I wonder if it's some kind of issue with a
> rendering cache.
>
>
>
>
>
> --
> Sent from: http://forum.openscad.org/
>
> _______________________________________________
> 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: F5 works, then after an error, stops

Florian Kirsch
In reply to this post by RobWLakes
Looks like https://github.com/openscad/openscad/issues/1875
 
Likely updating, such that OpenCSG 1.4.2 is used, would help.
 
Regards, Florian Kirsch
 
Gesendet: Freitag, 16. März 2018 um 06:56 Uhr
Von: "Rob Ward" <[hidden email]>
An: [hidden email]
Betreff: Re: [OpenSCAD] F5 works, then after an error, stops

Thanks Michael for that suggestion, here is the info.

I have followed the advice on the OpenSCAD page to allow updating from repositories but that does not seemed to have helped.

Cheers, Rob

 

OpenSCAD Version: 2015.03-2 System information: Linux 4.4.0-116-generic #140-Ubuntu SMP Mon Feb 12 21:23:04 UTC 2018 x86_64 Ubuntu 16.04.4 LTS 4 CPUs 3.85 GB RAM Compiler: GCC "5.4.0 20160609" 64bit Boost version: 1_58 Eigen version: 3.2.92 CGAL version, kernels: 4.7, Cartesian, Extended_cartesian, Epeck OpenCSG version: OpenCSG 1.4.0 Qt version: 5.5.1 QScintilla version: 2.9.1 MingW build: No GLib version: 2.48.1 Application Path: /usr/bin Documents Path: /home/rob/.local/share Resource Path: /usr/share/openscad User Library Path: /home/rob/.local/share/OpenSCAD/libraries User Config Path: /home/rob/.config/OpenSCAD Backup Path: /home/rob/.local/share/OpenSCAD/backups OPENSCADPATH: OpenSCAD library path: /home/rob/.local/share/OpenSCAD/libraries /usr/share/openscad/libraries OPENSCAD_FONT_PATH: OpenSCAD font path: GLEW version: 1.13.0 OpenGL Version: 3.0 Mesa 17.2.8 GL Renderer: NVD9 GL Vendor: nouveau RGBA(8880), depth(0), stencil(0) GL_ARB_framebuffer_object: yes GL_EXT_framebuffer_object: yes GL_EXT_packed_depth_stencil: yes Using QOpenGLWidget GL Extensions: GL_AMD_conservative_depth

 

etc etc etc, I trust you will not need these?

 

GL_SGIS_texture_lod GL_SUN_multi_draw_arrays

 
On 16/03/18 16:21, MichaelAtOz wrote:
I couldn't reproduce on Windows.
To me it suggests a display driver issue. Check for a newer version.
Also log your Help-Library-info.



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

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.

The TPP is no simple “trade agreement.”   Fight it! http://www.ourfairdeal.org/   time is running out!
--
Sent from: http://forum.openscad.org/

_______________________________________________
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

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

Re: F5 works, then after an error, stops

RobWLakes
In reply to this post by codifies

Hi Florian  and everybody else,

Please excuse the nature of this reply (ie obliquely about OpenSCAD), but as I stated in a previous post I am do not have a very deep understanding of Linux, and compiling libraries and applications onto the system is one of my (many?) weakest points. So here I go...

In preparation I have

        sudo apt remove openscad

then I have visited this page, https://sourceforge.net/projects/glew/files/glew/2.0.0/ to the latest OpenCSG (I hope)

and installed advised build tools with

        sudo apt-get install build-essential libxmu-dev libxi-dev libgl-dev libosmesa-dev git

then followed links to

  and downloaded this version "glew-2.0.0".

Extracted it to a folder. Entered the folder with a Terminal

and executed the following commands...

           make

        sudo make install

        make clean

These appeared to run OK.

I then reinstalled OpenScad

        sudo apt install openscad

Which again worked without a hitch, and openSCAD reappeared and works, however the "F5+error" problem remains and none of what I have done above appears to have made any difference.

Here is the start of the current library/build dump,

OpenSCAD Version: 2015.03-2

System information: Linux 4.4.0-116-generic #140-Ubuntu SMP Mon Feb 12 21:23:04 UTC 2018 x86_64 Ubuntu 16.04.4 LTS 4 CPUs 3.85 GB RAM

Compiler: GCC "5.4.0 20160609" 64bit

Boost version: 1_58

Eigen version: 3.2.92

CGAL version, kernels: 4.7, Cartesian, Extended_cartesian, Epeck

OpenCSG version: OpenCSG 1.4.0


The items in red have not changed, so I still have the same OpenSCAD and OpenCSG versions.

Please let me apologise first, I don't expect people to micro-manage me, as your (and everybody else's!!) time is valuable. However if anyone  could identify where I am going wrong and point me in the right direction it would be much appreciated eg a tutorial they can recommend. I would like to be able compile versions of OpenSCAD eventually to try out new features.

Many thanks in advance,

Rob

PS Apologies Florian for the PM I overlooked hitting the reply to  the group, and did not intend to heap that reply on you.

On 17/03/18 03:47, Chris Camacho wrote:
I've seen it just occasionally, I'm periodically upto date with github... (on Void Linux)

can't reliably reproduce so just wrote it off as "one of those things" I assume its an OpenCSG issue??

restarting always resolves it for me...


On 16/03/18 16:03, NateTG wrote:
RobWLakes wrote
...

This where my confusion comes in, as after returning color to "green", the
F5 no longer renders anything, though F6 renders all three elements
properly.  If I save the file, and reload it, F5 will work again. I have
tried Flushing the Caches, but that does not help.

What am I missing?

Rob
  Using: Ubuntu (16.04.4LTS) Mate, and openSCAD 2015.03-2
...
I'm experiencing a similar issue with a 2018 build on Debian.  I think it's
worth an error report on github.  I wonder if it's some kind of issue with a
rendering cache.





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

_______________________________________________
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



_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Rob W
Lake Tyers Beach,
Victoria, Australia
Reply | Threaded
Open this post in threaded view
|

Re: F5 works, then after an error, stops

jdawgaz
can I ask why you are using the apt get install command for openscad?
the repository version 2015.03-2 is > 3 years old.

why don't you try the latest openscad appimage? and see if that works for you?

73,

Jerry
--
Extra Ham Operator: K7AZJ
Registered Linux User: 275424
Raspberry Pi and 3D designer

The most exciting phrase to hear in science - the one that heralds new discoveries - is not "Eureka!" but "That's funny...".
- Isaac. Asimov


On Sun, Mar 18, 2018 at 2:25 PM, Rob Ward <[hidden email]> wrote:

Hi Florian  and everybody else,

Please excuse the nature of this reply (ie obliquely about OpenSCAD), but as I stated in a previous post I am do not have a very deep understanding of Linux, and compiling libraries and applications onto the system is one of my (many?) weakest points. So here I go...

In preparation I have

        sudo apt remove openscad

then I have visited this page, https://sourceforge.net/projects/glew/files/glew/2.0.0/ to the latest OpenCSG (I hope)

and installed advised build tools with

        sudo apt-get install build-essential libxmu-dev libxi-dev libgl-dev libosmesa-dev git

then followed links to

  and downloaded this version "glew-2.0.0".

Extracted it to a folder. Entered the folder with a Terminal

and executed the following commands...

           make

        sudo make install

        make clean

These appeared to run OK.

I then reinstalled OpenScad

        sudo apt install openscad

Which again worked without a hitch, and openSCAD reappeared and works, however the "F5+error" problem remains and none of what I have done above appears to have made any difference.

Here is the start of the current library/build dump,

OpenSCAD Version: 2015.03-2

System information: Linux 4.4.0-116-generic #140-Ubuntu SMP Mon Feb 12 21:23:04 UTC 2018 x86_64 Ubuntu 16.04.4 LTS 4 CPUs 3.85 GB RAM

Compiler: GCC "5.4.0 20160609" 64bit

Boost version: 1_58

Eigen version: 3.2.92

CGAL version, kernels: 4.7, Cartesian, Extended_cartesian, Epeck

OpenCSG version: OpenCSG 1.4.0


The items in red have not changed, so I still have the same OpenSCAD and OpenCSG versions.

Please let me apologise first, I don't expect people to micro-manage me, as your (and everybody else's!!) time is valuable. However if anyone  could identify where I am going wrong and point me in the right direction it would be much appreciated eg a tutorial they can recommend. I would like to be able compile versions of OpenSCAD eventually to try out new features.

Many thanks in advance,

Rob

PS Apologies Florian for the PM I overlooked hitting the reply to  the group, and did not intend to heap that reply on you.


On 17/03/18 03:47, Chris Camacho wrote:
I've seen it just occasionally, I'm periodically upto date with github... (on Void Linux)

can't reliably reproduce so just wrote it off as "one of those things" I assume its an OpenCSG issue??

restarting always resolves it for me...


On 16/03/18 16:03, NateTG wrote:
RobWLakes wrote
...

This where my confusion comes in, as after returning color to "green", the
F5 no longer renders anything, though F6 renders all three elements
properly.  If I save the file, and reload it, F5 will work again. I have
tried Flushing the Caches, but that does not help.

What am I missing?

Rob
  Using: Ubuntu (16.04.4LTS) Mate, and openSCAD 2015.03-2
...
I'm experiencing a similar issue with a 2018 build on Debian.  I think it's
worth an error report on github.  I wonder if it's some kind of issue with a
rendering cache.





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

_______________________________________________
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



_______________________________________________
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: F5 works, then after an error, stops

codifies
In reply to this post by RobWLakes

for the sake of others that come here after you... you may want to make a different thread

Look for as many of the development packages as you can through your package manager, you should only need to compile and install a few libs from source...

the openSCAD build process is fairly painless once you have all the dependencies installed...


On 18/03/18 21:25, Rob Ward wrote:
Hi Florian  and everybody else,

Please excuse the nature of this reply (ie obliquely about OpenSCAD), but as I stated in a previous post I am do not have a very deep understanding of Linux, and compiling libraries and applications onto the system is one of my (many?) weakest points. So here I go...

In preparation I have

sudo apt remove openscad

then I have visited this page, https://sourceforge.net/projects/glew/files/glew/2.0.0/ to the latest OpenCSG (I hope)

and installed advised build tools with

sudo apt-get install build-essential libxmu-dev libxi-dev libgl-dev libosmesa-dev git

then followed links to

  and downloaded this version "glew-2.0.0".

Extracted it to a folder. Entered the folder with a Terminal

and executed the following commands...

make

        sudo make install

        make clean

These appeared to run OK.

I then reinstalled OpenScad

sudo apt install openscad

Which again worked without a hitch, and openSCAD reappeared and works, however the "F5+error" problem remains and none of what I have done above appears to have made any difference.

Here is the start of the current library/build dump,

OpenSCAD Version: 2015.03-2

System information: Linux 4.4.0-116-generic #140-Ubuntu SMP Mon Feb 12 21:23:04 UTC 2018 x86_64 Ubuntu 16.04.4 LTS 4 CPUs 3.85 GB RAM

Compiler: GCC "5.4.0 20160609" 64bit

Boost version: 1_58

Eigen version: 3.2.92

CGAL version, kernels: 4.7, Cartesian, Extended_cartesian, Epeck

OpenCSG version: OpenCSG 1.4.0


The items in red have not changed, so I still have the same OpenSCAD and OpenCSG versions.

Please let me apologise first, I don't expect people to micro-manage me, as your (and everybody else's!!) time is valuable. However if anyone  could identify where I am going wrong and point me in the right direction it would be much appreciated eg a tutorial they can recommend. I would like to be able compile versions of OpenSCAD eventually to try out new features.

Many thanks in advance,

Rob

PS Apologies Florian for the PM I overlooked hitting the reply to the group, and did not intend to heap that reply on you.

On 17/03/18 03:47, Chris Camacho wrote:
I've seen it just occasionally, I'm periodically upto date with github... (on Void Linux)

can't reliably reproduce so just wrote it off as "one of those things" I assume its an OpenCSG issue??

restarting always resolves it for me...


On 16/03/18 16:03, NateTG wrote:
RobWLakes wrote
...

This where my confusion comes in, as after returning color to "green", the
F5 no longer renders anything, though F6 renders all three elements
properly.  If I save the file, and reload it, F5 will work again. I have
tried Flushing the Caches, but that does not help.

What am I missing?

Rob
  Using: Ubuntu (16.04.4LTS) Mate, and openSCAD 2015.03-2
...
I'm experiencing a similar issue with a 2018 build on Debian.  I think it's
worth an error report on github.  I wonder if it's some kind of issue with a
rendering cache.





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

_______________________________________________
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





_______________________________________________
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: F5 works, then after an error, stops

RobWLakes
Ok, I will try again and report back in a week or two on another thread eg OpenCSG upgrade or some such thing.
Thanks Chris,
Cheers,
Rob
Cheers, RobW

On 19 March 2018 9:56:31 pm AEDT, Chris Camacho <[hidden email]> wrote:

for the sake of others that come here after you... you may want to make a different thread

Look for as many of the development packages as you can through your package manager, you should only need to compile and install a few libs from source...

the openSCAD build process is fairly painless once you have all the dependencies installed...


On 18/03/18 21:25, Rob Ward wrote:
Hi Florian  and everybody else,

Please excuse the nature of this reply (ie obliquely about OpenSCAD), but as I stated in a previous post I am do not have a very deep understanding of Linux, and compiling libraries and applications onto the system is one of my (many?) weakest points. So here I go...

In preparation I have

sudo apt remove openscad

then I have visited this page, https://sourceforge.net/projects/glew/files/glew/2.0.0/ to the latest OpenCSG (I hope)

and installed advised build tools with

sudo apt-get install build-essential libxmu-dev libxi-dev libgl-dev libosmesa-dev git

then followed links to

  and downloaded this version "glew-2.0.0".

Extracted it to a folder. Entered the folder with a Terminal

and executed the following commands...

make

        sudo make install

        make clean

These appeared to run OK.

I then reinstalled OpenScad

sudo apt install openscad

Which again worked without a hitch, and openSCAD reappeared and works, however the "F5+error" problem remains and none of what I have done above appears to have made any difference.

Here is the start of the current library/build dump,

OpenSCAD Version: 2015.03-2

System information: Linux 4.4.0-116-generic #140-Ubuntu SMP Mon Feb 12 21:23:04 UTC 2018 x86_64 Ubuntu 16.04.4 LTS 4 CPUs 3.85 GB RAM

Compiler: GCC "5.4.0 20160609" 64bit

Boost version: 1_58

Eigen version: 3.2.92

CGAL version, kernels: 4.7, Cartesian, Extended_cartesian, Epeck

OpenCSG version: OpenCSG 1.4.0


The items in red have not changed, so I still have the same OpenSCAD and OpenCSG versions.

Please let me apologise first, I don't expect people to micro-manage me, as your (and everybody else's!!) time is valuable. However if anyone  could identify where I am going wrong and point me in the right direction it would be much appreciated eg a tutorial they can recommend. I would like to be able compile versions of OpenSCAD eventually to try out new features.

Many thanks in advance,

Rob

PS Apologies Florian for the PM I overlooked hitting the reply to the group, and did not intend to heap that reply on you.

On 17/03/18 03:47, Chris Camacho wrote:
I've seen it just occasionally, I'm periodically upto date with github... (on Void Linux)

can't reliably reproduce so just wrote it off as "one of those things" I assume its an OpenCSG issue??

restarting always resolves it for me...


On 16/03/18 16:03, NateTG wrote:
RobWLakes wrote
...

This where my confusion comes in, as after returning color to "green", the
F5 no longer renders anything, though F6 renders all three elements
properly.  If I save the file, and reload it, F5 will work again. I have
tried Flushing the Caches, but that does not help.

What am I missing?

Rob
  Using: Ubuntu (16.04.4LTS) Mate, and openSCAD 2015.03-2
...
I'm experiencing a similar issue with a 2018 build on Debian.  I think it's
worth an error report on github.  I wonder if it's some kind of issue with a
rendering cache.





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

_______________________________________________
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





_______________________________________________
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
Rob W
Lake Tyers Beach,
Victoria, Australia
tp3
Reply | Threaded
Open this post in threaded view
|

Re: F5 works, then after an error, stops

tp3
I've tried updating the AppImage builds so they are using the
newest OpenCSG. Both should report OpenCSG 1.4.2 in the library
info window.

Release version 2015.03-3:
https://download.opensuse.org/repositories/home:/t-paul/AppImage/OpenSCAD-Release-latest-x86_64.AppImage

Dev Snapshot:
https://download.opensuse.org/repositories/home:/t-paul/AppImage/OpenSCAD-Nightly-latest-x86_64.AppImage

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: F5 works, then after an error, stops

RobWLakes
Thank you Torsten, that is very helpful. I will be home in about 5days and will report back after that.
Cheers, RobW

On 21 March 2018 8:47:26 am AEDT, Torsten Paul <[hidden email]> wrote:
I've tried updating the AppImage builds so they are using the
newest OpenCSG. Both should report OpenCSG 1.4.2 in the library
info window.

Release version 2015.03-3:
https://download.opensuse.org/repositories/home:/t-paul/AppImage/OpenSCAD-Release-latest-x86_64.AppImage

Dev Snapshot:
https://download.opensuse.org/repositories/home:/t-paul/AppImage/OpenSCAD-Nightly-latest-x86_64.AppImage

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
Rob W
Lake Tyers Beach,
Victoria, Australia
Reply | Threaded
Open this post in threaded view
|

Re: F5 works, then after an error, stops

RobWLakes
In reply to this post by tp3
Cheers Torsten, that worked perfectly for me. Much Appreciated.

Library correctly reported as below. You have made it so simple!!!
Errors no longer jeopardize the F5 preview mode.

Are these AppImage versions clearly advertised on the OpenSCAD site? I
did not find them.

RobW


On 21/03/18 08:47, Torsten Paul wrote:

> I've tried updating the AppImage builds so they are using the
> newest OpenCSG. Both should report OpenCSG 1.4.2 in the library
> info window.
>
> Release version 2015.03-3:
> https://download.opensuse.org/repositories/home:/t-paul/AppImage/OpenSCAD-Release-latest-x86_64.AppImage 
>
>
> Dev Snapshot:
> https://download.opensuse.org/repositories/home:/t-paul/AppImage/OpenSCAD-Nightly-latest-x86_64.AppImage 
>
>
> 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
Rob W
Lake Tyers Beach,
Victoria, Australia
tp3
Reply | Threaded
Open this post in threaded view
|

Re: F5 works, then after an error, stops

tp3
On 03/24/2018 11:52 AM, Rob Ward wrote:
> Cheers Torsten, that worked perfectly for me. Much Appreciated.
>
Great, thanks for reporting back.

> Are these AppImage versions clearly advertised on the OpenSCAD
> site? I did not find them.
>
For small values of clearly, yes. :-)

As of now only the Dev-Snapshot for Intel/64bit is linked in
the download section.

This is still pretty new and not too well tested on various
distributions and we also rely on OBS (OpenSUSE build service)
to build those. There's still some changes going on there which
make it a bit unstable, e.g. the ARM builds are currently not
working, I don't know why yet.

ciao,
   Torsten.

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