I made my CadQuery GUI public today. You can check it out here:
https://github.com/CadQuery/CQ-editor
It has some interesting CQ debugging and introspection capabilities. Let me know what you think!
--
cadquery home: https://github.com/dcowden/cadquery
post issues at https://github.com/dcowden/cadquery/issues
run it at home at : https://github.com/jmwright/cadquery-freecad-module
see it in action at http://www.parametricparts.com
---
You received this message because you are subscribed to the Google Groups "CadQuery" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cadquery+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cadquery/61934060-14b3-4267-85f3-a12ca882bd4b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Why would you want to use show_object in this context? Is it for consistence? If people really want to use this function it could e.g. hide all other objects in the view
code form the editor is compiled into a code object. Then it is executed into a temporary module.
To unsubscribe from this group and stop receiving emails from it, send an email to cadquery+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cadquery/a61e863d-1f0a-46cd-b27e-6f2776f28b22%40googlegroups.com.
Alright, I added cqgi like functions to the execution context of the code in the CQ-editor. Running standard examples from the docs should work now without any modification.
Are there any other thoughts from the community on the usability of the CQ-editor?
--
cadquery home: https://github.com/dcowden/cadquery
post issues at https://github.com/dcowden/cadquery/issues
run it at home at : https://github.com/jmwright/cadquery-freecad-module
see it in action at http://www.parametricparts.com
---
You received this message because you are subscribed to the Google Groups "CadQuery" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cadquery+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cadquery/638e6a7b-b504-4a01-84a1-4ee9f4043ff2%40googlegroups.com.
would it be possible to make it easy in code to highlight a plane or object?the inspector is nice, but when i'm debugging i'd like to be able to do show_object(workplane, { 'color': red } ) or something like that, so i can see it in the project quickly.
would it be possible to make it easy in code to highlight a plane or object?the inspector is nice, but when i'm debugging i'd like to be able to do show_object(workplane, { 'color': red } ) or something like that, so i can see it in the project quickly.
On Sat, Jun 16, 2018 at 1:13 PM, Adam Urbanczyk <adam.jan....@gmail.com> wrote:
Alright, I added cqgi like functions to the execution context of the code in the CQ-editor. Running standard examples from the docs should work now without any modification.
Are there any other thoughts from the community on the usability of the CQ-editor?
--
cadquery home: https://github.com/dcowden/cadquery
post issues at https://github.com/dcowden/cadquery/issues
run it at home at : https://github.com/jmwright/cadquery-freecad-module
see it in action at http://www.parametricparts.com
---
You received this message because you are subscribed to the Google Groups "CadQuery" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cadquery+u...@googlegroups.com.
TKOpenGl | Type: Performance | ID: 0 | Severity: Low | Message:
VBO creation for Primitive Array has failed for 2 vertices. Out of memory?
TKOpenGl | Type: Performance | ID: 0 | Severity: Low | Message:
VBO creation for Primitive Array has failed for 2 vertices. Out of memory?
TKOpenGl | Type: Performance | ID: 0 | Severity: Low | Message:
VBO creation for Primitive Array has failed for 2 vertices. Out of memory?
TKOpenGl | Type: Performance | ID: 0 | Severity: Low | Message:
VBO creation for Primitive Array has failed for 4 vertices. Out of memory?
TKOpenGl | Type: Performance | ID: 0 | Severity: Low | Message:
VBO creation for Primitive Array has failed for 4 vertices. Out of memory?
QWidgetWindow(0x7f82e9398d70, name="Main toolbarWindow") ( QScreen(0x7f82e5d6a010, name="Color LCD") ): Attempt to set a screen on a child window.
QWidgetWindow(0x7f82e9398d70, name="Main toolbarWindow") ( QScreen(0x7f82e5d6a010, name="Color LCD") ): Attempt to set a screen on a child window.
QWidgetWindow(0x7f82e9398d70, name="Main toolbarWindow") ( QScreen(0x7f82e5d6a010, name="Color LCD") ): Attempt to set a screen on a child window.
TKOpenGl | Type: Performance | ID: 0 | Severity: Low | Message:
VBO creation for Primitive Array has failed for 176 vertices. Out of memory?
TKOpenGl | Type: Performance | ID: 0 | Severity: Low | Message:
VBO creation for Primitive Array has failed for 112 vertices. Out of memory?
QWidgetWindow(0x7f82e9398d70, name="Main toolbarWindow") ( QScreen(0x7f82e5d6a010, name="Color LCD") ): Attempt to set a screen on a child window.
TKOpenGl | Type: Error | ID: 0 | Severity: High | Message:
New texture intialization of size 8192x128 for textured font has failed.
TKOpenGl | Type: Error | ID: 0 | Severity: High | Message:
Font 'Courier' - initialization of GL resources has failed!
INFO:OCC.Display.backend:backend loaded: qt-pyqt5
###### 3D rendering pipe initialisation #####
Display3d class initialization starting ...
Aspect_DisplayConnection created.
Graphic_Driver created.
V3d_Viewer created.
AIS_InteractiveContext created.
V3d_View created
Cocoa window created.
Display3d class successfully initialized.
########################################
INFO:OCC.Display.backend:backend loaded: qt-pyqt5
###### 3D rendering pipe initialisation #####
Display3d class initialization starting ...
Aspect_DisplayConnection created.
Graphic_Driver created.
V3d_Viewer created.
AIS_InteractiveContext created.
V3d_View created
Cocoa window created.
Display3d class successfully initialized.
########################################
Layer manager created
Layer dimensions: 100, 30
TKOpenGl | Type: Performance | ID: 0 | Severity: Low | Message:
VBO creation for Primitive Array has failed for 4 vertices. Out of memory?
TKOpenGl | Type: Performance | ID: 0 | Severity: Low | Message:
VBO creation for Primitive Array has failed for 169 vertices. Out of memory?
TKOpenGl | Type: Performance | ID: 0 | Severity: Low | Message:
VBO creation for Primitive Array has failed for 26 vertices. Out of memory?
TKOpenGl | Type: Performance | ID: 0 | Severity: Low | Message:
VBO creation for Primitive Array has failed for 26 vertices. Out of memory?
TKOpenGl | Type: Performance | ID: 0 | Severity: Low | Message:
VBO creation for Primitive Array has failed for 26 vertices. Out of memory?
TKOpenGl | Type: Error | ID: 0 | Severity: High | Message:
New texture intialization of size 8192x128 for textured font has failed.
TKOpenGl | Type: Error | ID: 0 | Severity: High | Message:
Font 'Courier' - initialization of GL resources has failed!
TKOpenGl | Type: Performance | ID: 0 | Severity: Low | Message:
VBO creation for Primitive Array has failed for 4 vertices. Out of memory?
TKOpenGl | Type: Performance | ID: 0 | Severity: Low | Message:
VBO creation for Primitive Array has failed for 2 vertices. Out of memory?
TKOpenGl | Type: Performance | ID: 0 | Severity: Low | Message:
VBO creation for Primitive Array has failed for 24 vertices. Out of memory?
TKOpenGl | Type: Performance | ID: 0 | Severity: Low | Message:
VBO creation for Primitive Array has failed for 24 vertices. Out of memory?
Thanks for investigating this further. The result is somewhat unexpected for me. Are you sure that the examples used the pyqt5 backend (as opposed to pyqt4 or we)? It should be reported in stdout.
BTW I was recently thinking of skipping OCC based visualization completely and using QOpenGlWidget of pyqt5. I am investigating currently how much work that would be.
Best
Adam