mirror of
https://github.com/gumyr/build123d.git
synced 2025-12-06 02:30:55 -08:00
Removing ocp image to enable tests
This commit is contained in:
parent
91034a6745
commit
e658a786d2
1 changed files with 1 additions and 15 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue