Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

define a Workplane.export() (#1153) #1531

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

aavogt
Copy link

@aavogt aavogt commented Mar 6, 2024

I tried to put it in cq.py under class Workplane, but there were problems with circular imports.

The docstring is not quite right since :w: should probably be :self:.

cq.Workplane.export.__doc__
'\n    Export Workplane or Shape to file. Multiple entities are converted to compound.\n\n    :param w:  Shape or Workplane to be exported.\n    :param fname: output filename.\n    :param exportType: the exportFormat to use. If None will be inferred from the extension. Default: None.\n    :param tolerance: the deflection tolerance, in model units. Default 0.1.\n    :param angularTolerance: the angular tolerance, in radians. Default 0.1.\n    :param opt: additional options passed to the specific exporter. Default None.\n ```

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant