MCPcopy
hub / github.com/CadQuery/cadquery / show_object

Method show_object

cadquery/cqgi.py:335–347  ·  view source on GitHub ↗

Return an object to the executing environment, with options. :param shape: a cadquery object :param options: a dictionary of options that will be made available to the executing environment

(self, shape, options={}, **kwargs)

Source from the content-addressed store, hash-verified

333 self.debugObjects = []
334
335 def show_object(self, shape, options={}, **kwargs):
336 """
337 Return an object to the executing environment, with options.
338
339 :param shape: a cadquery object
340 :param options: a dictionary of options that will be made available to the executing environment
341 """
342 options.update(kwargs)
343
344 o = ShapeResult()
345 o.options = options
346 o.shape = shape
347 self.outputObjects.append(o)
348
349 def debug(self, obj, args={}):
350 """

Callers

nothing calls this directly

Calls 2

ShapeResultClass · 0.85
appendMethod · 0.80

Tested by

no test coverage detected