|
|
|
|
|
by timonoko
576 days ago
|
|
Best way is to steal somebody else's model and improve it to your taste. That is the main use of Blender in 3D-printing, because parametric modelling is not the best property in Blender. Although it is almost feasible to define OpenSCAD model and ask AI to redefine in blender-python. Hey ChatGPT, how you define an empty box in Blender Python? import bpy
empty = bpy.data.objects.new("Empty_Box", None)
empty.empty_display_type = 'CUBE'
empty.empty_display_size = 1.0
bpy.context.collection.objects.link(empty)
|
|
ChatGPT: The OpenSCAD statement difference(){ cube(11); cube(10); } creates a shape by subtracting a smaller cube (10x10x10) from a larger cube (11x11x11). Here's how you can create the same effect in Blender using its Python API: