Skip to content

Commit

Permalink
fixed part:showObject
Browse files Browse the repository at this point in the history
  • Loading branch information
openvmp committed Oct 12, 2024
1 parent ca31f8e commit a5485b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion partcad/src/partcad/part_factory_build123d.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ async def instantiate(self, part):
if "show" in self.config:
patch["\\Z"] = "\nshow(%s)\n" % self.config["show"]
if "showObject" in self.config:
patch["\\Z"] = "\nshow_object(%s)\n" % self.config["show"]
patch["\\Z"] = "\nshow_object(%s)\n" % self.config["showObject"]
if "patch" in self.config:
patch.update(self.config["patch"])
request["patch"] = patch
Expand Down
2 changes: 1 addition & 1 deletion partcad/src/partcad/part_factory_cadquery.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ async def instantiate(self, part):
if "show" in self.config:
patch["\\Z"] = "\nshow(%s)\n" % self.config["show"]
if "showObject" in self.config:
patch["\\Z"] = "\nshow_object(%s)\n" % self.config["show"]
patch["\\Z"] = "\nshow_object(%s)\n" % self.config["showObject"]
if "patch" in self.config:
patch.update(self.config["patch"])
request["patch"] = patch
Expand Down

0 comments on commit a5485b3

Please sign in to comment.