module 'geomdl.visualization.VisMPL' has no attribute 'VisSurfTriangle'

43 views
Skip to first unread message

JBo

unread,
Jul 10, 2024, 4:33:55 PM7/10/24
to NURBS-Python
Hi all
Still learning through examples ... thanks for these by the way !

I get this error running ex_surface01_split_multi.py :
module 'geomdl.visualization.VisMPL' has no attribute 'VisSurfTriangle'

My colab :

Can you help me through ?

Regards

Julien

ps : same in ex_curved.py where I could replace the line by surf.vis = VisMPL.VisSurface()

Onur R. Bingol

unread,
Jul 10, 2024, 4:36:44 PM7/10/24
to nurbs-...@googlegroups.com
You should be able to use another visualizer object for surfaces, e.g. VisSurface. Please refer to the documentation for more details.



---- On Wed, 10 Jul 2024 13:33:55 -0700 jbocr...@gmail.com wrote ----

--
You received this message because you are subscribed to the Google Groups "NURBS-Python" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nurbs-python...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/nurbs-python/b7f05d4f-f180-43f9-9dd1-250d7c7a9553n%40googlegroups.com.

JBo

unread,
Jul 10, 2024, 4:42:50 PM7/10/24
to NURBS-Python
👍

# Plot the control point grid and the evaluated surface
#vis_comp = VisMPL.VisSurfTriangle()
vis_comp = VisMPL.VisSurface()
surfaces.vis = vis_comp
surfaces.render()

Reply all
Reply to author
Forward
0 new messages