6 Commits

Author SHA1 Message Date
jdegenstein
4669eef9a2 revert and keep win32 asyncio 2023-02-11 16:48:14 -06:00
jdegenstein
8f62f098ee Incorporate run.py into __main__.py for setuptools
setuptools creates a broken cq-editor.exe that has a non-working ipython console
2023-02-11 16:03:47 -06:00
jdegenstein
758afb5f18 Add discord link to readme 2023-02-11 13:41:56 -06:00
jdegenstein
cf43cee874 Update build123d install instruction 2023-02-11 13:31:16 -06:00
jdegenstein
29b2faeaa8 Change rand_color seed
seed(371353) - > seed(59798267586177) 
has better colors that are more distinguishable from one another
2023-02-10 19:32:34 -06:00
jdegenstein
9506307367 Add pip install instruction for build123d to README 2023-02-02 15:38:55 -06:00
3 changed files with 8 additions and 1 deletions

View File

@@ -4,6 +4,8 @@ This is a fork of [jmwright's fork](https://github.com/jmwright/CQ-editor) of [C
This fork also contains additional changes to the `show_object` function in CQ-editor that make it easier to display and export build123d objects and object lists. This fork also contains additional changes to the `show_object` function in CQ-editor that make it easier to display and export build123d objects and object lists.
Running into issues? Please click here to join the [***CadQuery, CQ-Editor, and build123d Discord***](https://discord.com/invite/Bj9AQPsCfx)
![image](https://user-images.githubusercontent.com/16868537/191054760-a2cac297-3488-48d4-b9f6-52747dffcce3.png) ![image](https://user-images.githubusercontent.com/16868537/191054760-a2cac297-3488-48d4-b9f6-52747dffcce3.png)
[![Build status](https://ci.appveyor.com/api/projects/status/g98rs7la393mgy91/branch/master?svg=true)](https://ci.appveyor.com/project/adam-urbanczyk/cq-editor/branch/master) [![Build status](https://ci.appveyor.com/api/projects/status/g98rs7la393mgy91/branch/master?svg=true)](https://ci.appveyor.com/project/adam-urbanczyk/cq-editor/branch/master)
@@ -44,6 +46,7 @@ Development builds are also available, but can be unstable and should be used at
``` ```
pip install git+https://github.com/jdegenstein/jmwright-CQ-Editor pip install git+https://github.com/jdegenstein/jmwright-CQ-Editor
pip install --pre git+https://github.com/cadquery/cadquery pip install --pre git+https://github.com/cadquery/cadquery
pip install git+https://github.com/gumyr/build123d
``` ```
## Usage ## Usage

View File

@@ -1,6 +1,10 @@
import sys import sys
import asyncio
import argparse import argparse
if sys.platform == 'win32':
asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy())
from PyQt5.QtWidgets import QApplication from PyQt5.QtWidgets import QApplication
NAME = 'CQ-editor' NAME = 'CQ-editor'

View File

@@ -241,7 +241,7 @@ class Debugger(QObject,ComponentMixin):
@pyqtSlot(bool) @pyqtSlot(bool)
def render(self): def render(self):
seed(371353) #reset the seed every time render is called (preserves colors run to run) seed(59798267586177) #reset the seed every time render is called (preserves colors run to run)
if self.preferences['Reload CQ']: if self.preferences['Reload CQ']:
reload_cq() reload_cq()