Code Monkey home page Code Monkey logo

pythonocc-cad's Introduction

BrepCAD

The BrepCAD open source framework is adapted from the SimpleGui in pythonocc. It incorporates the beautiful ribbon style, which also uses the open source library QupyRibbon in Github.

This framework can basically meet the needs of graduation design of college students and enterprise level lightweight CAD software development. Because it is based on the python language, the running efficiency cannot be compared with that of the c++version. But there is no bad language in the world. Only the less excellent programmers can write software with good performance as long as they continue to optimize the algorithm.

alt tag alt tag alt tag alt tag alt tag alt tag

pythonocc-core

About

pythonocc is a python package whose purpose is to provide 3D modeling features. It is intended to CAD/PDM/PLM and BIM related development.

version : pythonocc-core 7.4.0 (february 2020)

Features

pythonocc provides the following features:

  • a full access from Python to almost all af the thousand OpenCascade C++ classes. Classes and methods/functions share the same names, and, as possible as it can be, the same signature

  • 3D visualization from the most famous Python Gui (pyQt, PySide1 and 2, wxPython)

  • 3D visualization in a web browser using WebGl and/or x3dom renderers

  • 3D visualization and work within a jupyter notebook

  • Various utility Python classes/methods for DataExchange, Topology operations, intertia computations etc.

first create an environment

conda create --name=pyoccenv python=3.7
source activate pyoccenv
conda install -c conda-forge pythonocc-core=7.4

Run it

git clone https://github.com/qunat/Pythonocc-CAD.git
conda activate your environment
cd pythonocc-CAD
python BaseGui.py
also double clcik the start.bta

update it

git pull
this can get the latest version

QupyRibbon

alt tag

This is a ribbon implementation in Python 3 using PyQt5.

To use this you need to get the dependencies:

sudo apt install python3
sudo apt install python3-pyqt5

The project is made in Pycharm community eddition. For example clone the project:

git clone https://github.com/pracedru/QupyRibbon

and run:

python3 main.py 

pythonocc-cad's People

Contributors

qunat avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

pythonocc-cad's Issues

点击功能都是闪退

点击功能都是闪退,debug发现因为没有识别到self.parent.Displayshape_core.canva._display.register_select_callback(self.clicked_callback)中的Displayshape_core导致闪退。找不到这个函数啊宽哥

报错could not convert 'TittleBarButton' to 'QPushButton'

你好,在TittleBarButton.py的文件中报错could not convert 'TittleBarButton' to 'QPushButt,具体是在 class TittleBarButton中的Create_IconButton中的self.setFlat(True)这一行,请问需要如何修改才能正常运行

代码内部变量不一致问题

读取Ribbon_sketcher.ini但是文件是RibbonSketcher.ini
def uptoplane(self):
self.parent.InteractiveOperate.InteractiveModule="SKETCH"
self.parent.Displayshape_core.canva._display.register_select_callback(self.clicked_callback)

Displayshape_core.不存在,应该为Displayshape_core_dict

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.