Removing ocp image to enable tests

This commit is contained in:
gumyr 2025-04-05 11:36:36 -04:00
parent 91034a6745
commit e658a786d2

View file

@ -32,22 +32,8 @@ license:
""" """
# [Code] # [Code]
import pathlib
from build123d import * from build123d import *
from ocp_vscode import ImageFace, show, show_object from ocp_vscode import show
# 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)
# Toy Truck Blue # Toy Truck Blue
truck_color = Color(0x4683CE) truck_color = Color(0x4683CE)