Updated Examples

This commit is contained in:
gumyr 2024-02-29 11:34:40 -05:00
parent 78a73a9963
commit f43dac38e2
56 changed files with 677 additions and 574 deletions

View file

@ -25,8 +25,12 @@ license:
See the License for the specific language governing permissions and
limitations under the License.
"""
# [Code]
from math import pi, sin
from build123d import *
from ocp_vscode import show
with BuildPart() as art:
slice_count = 10
@ -39,5 +43,5 @@ with BuildPart() as art:
assert abs(art.part.volume - 1306.3405290344635) < 1e-3
if "show_object" in locals():
show_object(art.part.wrapped, name="art")
show(art, names=["art"])
# [End]