From e658a786d2ec2424211aa3722e59b353e0a54abf Mon Sep 17 00:00:00 2001 From: gumyr Date: Sat, 5 Apr 2025 11:36:36 -0400 Subject: [PATCH] Removing ocp image to enable tests --- examples/toy_truck.py | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/examples/toy_truck.py b/examples/toy_truck.py index 840e3f1..c5747bd 100644 --- a/examples/toy_truck.py +++ b/examples/toy_truck.py @@ -32,22 +32,8 @@ license: """ # [Code] -import pathlib from build123d import * -from ocp_vscode import ImageFace, show, show_object - -# Create an ocp_vscode image object to use as a design reference -project_root = pathlib.Path(__file__).resolve().parents[1] -reference_image_path = ( - project_root / "docs" / "assets" / "examples" / "toy_truck_picture.jpg" -) -image = ImageFace( - str(reference_image_path), - scale=0.012, - location=Location((0, 0, -1), (0, 0, 90)), -) -show_object(image) - +from ocp_vscode import show # Toy Truck Blue truck_color = Color(0x4683CE)