Hello I have a question for making mid surface via cad query

93 views
Skip to first unread message

Lee MH

unread,
Oct 14, 2023, 2:03:10 AM10/14/23
to CadQuery
I'm new to cadquery and I happy to join this group :)

Thank you in advance for all who will reply my questions.

I want make mid - surface of 3D structure below shape 

How can I creat that ?

import cadquery as cq
from jupyter_cadquery.viewer.client import show, show_object



points = [(0 , 1),(-1, 1),( -2, 0 ),(-3 , 0), (-3 , -0.4),(-2, -0.4),( -1, 0.6 ),(-0 , 0.6) ]

result = cq.Workplane('XY').polyline(points).mirrorY().extrude(5)




Jeremy Wright

unread,
Oct 14, 2023, 9:41:39 PM10/14/23
to Lee MH, CadQuery
You might have a look at interpPlate. There is an example here.

--
cadquery home: https://github.com/CadQuery/cadquery
post issues at https://github.com/CadQuery/cadquery/issues
run it at home at : https://github.com/CadQuery/CQ-editor
---
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/2c81166c-177a-4120-aac3-20eb1f33de5bn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages