Comments (9)
Hi @jmwright
personally I use an external editor.
May be @poeschlr or @Misca1234 or @Shackmeister could give you an other feed back
from cadquery-freecad-module.
I have never used the built in editor, I do not even use the cadquery editor in FreeCad, only external.
PS
If you are looking for a new hobby project, I would suggest a spice simulator ;)
DS
from cadquery-freecad-module.
I nearly always used the internal editor. (at least at some stages of the development of my scripts.)
I however do not really need many features of it. (At least none that an external editor could not supply)
As long as there is some way to quickly build a model from a file i am fully ok with using an external editor. Ideally there would also be some botton to update from a changed source file or even better a way to automatically update the model if the source file changes.
from cadquery-freecad-module.
@poeschlr There's an execute_on_save
setting in Settings.py that will save the script automatically every time you save file in the external editor.
I had done a simple code editor in Qt awhile back for another project. I've started a branch where I've swapped out PyQode for that custom editor. It lacks a lot of features, but I think it's usable. Beta feedback would be appreciated. Keep in mind though that you're only evaluating the built-in editor. The external editor functionality is broken in that branch because I'm looking to separate it out. I think that if you use an external editor, it would be nice if the workbench ignored the built-in editor and just displayed the 3D model. Currently the file watcher is tied in with PyQode, so you have to have the text open in PyQode to get execute_on_save
functionality.
from cadquery-freecad-module.
I've started using the internal editor because I could not find an external one which shows the created shapes without any error.
In general, I use Visual Studio Code for development but did not try the execute_on_save
setting yet.
from cadquery-freecad-module.
What I would really appreciate is if the 3D view would be part of/attached to/side-by-side to the internal editor window. That would allow switching between different tabs of the editor much easier. I don't like the window tiling, if I have more than one cadquery script open.
from cadquery-freecad-module.
@tolot27 That's an interesting idea. I'm not sure there's a Python binding for the 3D view in FreeCAD, but I'll look into it. I can add it as a setting if it's a possibility. I would probably use that side-by-side view a lot.
from cadquery-freecad-module.
Posting this related link here for my own information.
https://www.freecadweb.org/wiki/Embedding_FreeCADGui
from cadquery-freecad-module.
Thanks for the feedback everyone. I've taken your comments into account as I'm working towards FreeCAD 0.18 compatibility. Feel free to continue commenting, but I'm going to close this for now.
from cadquery-freecad-module.
Related Issues (20)
- 'NoneType' object has no attribute 'addObject' HOT 18
- save dialog on exit HOT 3
- show cqparts within FreeCad HOT 9
- Certain imports break on script re-execution. HOT 4
- os.environ.get("MYSCRIPT_DIR") is None HOT 9
- Update Settings Documentation
- error on startup CQ_Logo.svg does not exists HOT 15
- FreeCAD Addon Manager needs a proper .svg icon for this WB/Addon HOT 1
- How to write STEP file from Surf or volume use this cadquery package ? HOT 15
- ImportError: dynamic module does not define module export function (PyInit_FreeCAD) HOT 1
- ModuleNotFoundError: No module named 'FreeCAD' HOT 5
- Update to support of CQ 2.0 HOT 8
- Examples not running - module 'time' has no attribute 'clock' HOT 8
- show() not defined HOT 7
- suppress_stdout_stderr seems to suppress too much
- Cannot import name 'Assembly' from 'cadquery' HOT 4
- No module named 'ExportCQ' HOT 7
- Rotation of assembly or imported step HOT 2
- module 'collections' has no attribute 'MutableMapping' HOT 17
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cadquery-freecad-module.