CadQuery / CadQuery/cadquery

CQGI: require explicit cadquery and show_object imports

Open
#29 9 comments 0 reactions 0 assignees View on GitHub
bug CQ2
Dominant language
Python
Stars
5.8k
Forks
541
Avg merge
3d 2h
Merged PRs (30d)
5

Description

**Issue by [dcowden](https://github.com/dcowden)**
_Monday May 21, 2018 at 21:09 GMT_
_Originally opened as https://github.com/dcowden/cadquery/issues/270_

----

after discussions with @fragmuffin and others, we'd like to change cqgi to require scripts to import show_object, debug, and cadquery itself.

The consensus was that there is just too much magic in scripts that use show_object when it appears out of nowhere.

This will require changing cqgi itself, as well as changing all of the examples to do this import. It probably also means that cqgi.show_object should be promoted to a real function, not injected during the ast phase.

@jmwright before i start these changes, do you agree? What is the impact on cqfm?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.