Birth of Design456 Workbench
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
Be nice to others! Read the FreeCAD code of conduct!
Re: Birth of Design456 Workbench
LOL....look i get it was a mistake and all that.. and that you didn't mean anything by it...but you added that to your commit history. So asking for someone not be 'sensitive' on top of being the one who caused the issue is honestly not well-mannered. Even though git commit history can be modified (which btw you haven't offered to do yet), it's a social courtesy to be apologetic without telling someone "Yea..OK...but don't be so sensitive". It achieves the opposite of what you're trying to avoid.
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Re: Birth of Design456 Workbench
Just installed.
Got an error saying: No module named 'OCC'.
Got an error saying: No module named 'OCC'.
Re: Birth of Design456 Workbench
Hi,
Seems that you have an old FreeCAD.
Please use the latest. I get no error if I run the import command in my FreeCAD
Code: Select all
OS: Windows 10 (10.0)
Word size of FreeCAD: 64-bit
Version: 0.20.26306 (Git)
Build type: Release
Python version: 3.8.12
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.5.3
Locale: .......
- Attachments
-
- test.JPG (20.42 KiB) Viewed 1675 times
Design456 Direct Modeling. Coin3D GUI Toolkit. Objects get simplified.
https://github.com/MariwanJ/Design456 - https://wiki.freecadweb.org/Design456_Workbench
https://www.youtube.com/watch?v=6agcHPd ... utbTDH93m_
https://github.com/MariwanJ/Design456 - https://wiki.freecadweb.org/Design456_Workbench
https://www.youtube.com/watch?v=6agcHPd ... utbTDH93m_
Re: Birth of Design456 Workbench
Starting new tool
Design456_ExtendFace.
Look at the video to see what I have for plan to code. Please let me know if you have other requests.
Thanks.
Design456_ExtendFace.
Look at the video to see what I have for plan to code. Please let me know if you have other requests.
Thanks.
Design456 Direct Modeling. Coin3D GUI Toolkit. Objects get simplified.
https://github.com/MariwanJ/Design456 - https://wiki.freecadweb.org/Design456_Workbench
https://www.youtube.com/watch?v=6agcHPd ... utbTDH93m_
https://github.com/MariwanJ/Design456 - https://wiki.freecadweb.org/Design456_Workbench
https://www.youtube.com/watch?v=6agcHPd ... utbTDH93m_
Re: Birth of Design456 Workbench
FreeCAD_0.20.26155_Win-LPv12.5.4_vc17.x-x86-64
Just downloaded the weekly build. Still have the error.
Code: Select all
08:33:04 No module named 'OCC'
08:33:04 Traceback (most recent call last):
File "<string>", line 58, in Initialize
File "H:\FreeCAD_0.20.26155_Win-LPv12.5.4_vc17.x-x86-64\bin\Lib\site-packages\shiboken2\files.dir\shibokensupport\__feature__.py", line 142, in _import
return original_import(name, *args, **kwargs)
File "C:\Users\ian\AppData\Roaming\FreeCAD\Mod\Design456\DirectModeling\directModelingCommands.py", line 34, in <module>
import DirectModeling.Design456_ExtendFace
File "H:\FreeCAD_0.20.26155_Win-LPv12.5.4_vc17.x-x86-64\bin\Lib\site-packages\shiboken2\files.dir\shibokensupport\__feature__.py", line 142, in _import
return original_import(name, *args, **kwargs)
File "C:\Users\ian\AppData\Roaming\FreeCAD\Mod\Design456\DirectModeling\Design456_ExtendFace.py", line 49, in <module>
from OCC import Core
File "H:\FreeCAD_0.20.26155_Win-LPv12.5.4_vc17.x-x86-64\bin\Lib\site-packages\shiboken2\files.dir\shibokensupport\__feature__.py", line 142, in _import
return original_import(name, *args, **kwargs)
Re: Birth of Design456 Workbench
This is the error running from Python consol:
OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.20.26155 (Git)
Build type: Release
Branch: master
Hash: 0926a4148bcff11249fd4f56bc30256102ffe105
Python version: 3.8.6+
Qt version: 5.15.2
Coin version: 4.0.1
OCC version: 7.5.0
Locale: English/United States (en_US)
Code: Select all
>>> ### End command Std_Workbench
>>> from OCC import Core
Traceback (most recent call last):
File "<input>", line 1, in <module>
File "H:\FreeCAD_0.20.26155_Win-LPv12.5.4_vc17.x-x86-64\bin\Lib\site-packages\shiboken2\files.dir\shibokensupport\__feature__.py", line 142, in _import
return original_import(name, *args, **kwargs)
ModuleNotFoundError: No module named 'OCC'
>>>
Word size of FreeCAD: 64-bit
Version: 0.20.26155 (Git)
Build type: Release
Branch: master
Hash: 0926a4148bcff11249fd4f56bc30256102ffe105
Python version: 3.8.6+
Qt version: 5.15.2
Coin version: 4.0.1
OCC version: 7.5.0
Locale: English/United States (en_US)
- Pauvres_honteux
- Posts: 728
- Joined: Sun Feb 16, 2014 12:05 am
- Location: Far side of the moon
Re: Birth of Design456 Workbench
Hi mariwan, how about making this tool more generic, so it's possible to manipulate an arbitrary surface, not just a flat one?
Like:
"single-click on surface once and manipulate it as a stiff surface"
or
"double click on surface and manipulate it as a rubber-like surface"
or
"looong click on surface and manipulate its boundary tangencies/ruling surfaces".
The boundaries them self are created and manipulated elsewhere.
Stiff surface manipulation = only position and orientation.
Rubber like surface manipulation = only surface deformation within boundaries (no boundary manipulation).
Boundary tangency manipulation = only ruling surfaces orientation/angle (no position/boundary manipulation).
Re: Birth of Design456 Workbench
Thanks for you suggestion.Pauvres_honteux wrote: ↑Fri Dec 03, 2021 7:15 amHi mariwan, how about making this tool more generic, so it's possible to manipulate an arbitrary surface, not just a flat one?
Like:
"single-click on surface once and manipulate it as a stiff surface"
or
"double click on surface and manipulate it as a rubber-like surface"
or
"looong click on surface and manipulate its boundary tangencies/ruling surfaces".
The boundaries them self are created and manipulated elsewhere.
Stiff surface manipulation = only position and orientation.
Rubber like surface manipulation = only surface deformation within boundaries (no boundary manipulation).
Boundary tangency manipulation = only ruling surfaces orientation/angle (no position/boundary manipulation).
First : Would you please make the suggestion at my github .. make an issue ? I will remember it and must target it. But here I might loose the info
Second: Flat surfaces is always easier to start with. When you can the technique to manipulate it you can go further and do much more manipulation. For surfaces has curvature, it wouldn't be very easy. Many calculation will be involved. I have it in my mind.
Third: Scaling the face : This wouldn't' be difficult.
Fourth: Rotation is in the plan
Generally, I will make more tools to manipulate faces. This one is just the start. All sort of manipulation , hope, I will make
Please put your suggestion at my github .. So we preserve also the author of the suggestion. Thank you.
Design456 Direct Modeling. Coin3D GUI Toolkit. Objects get simplified.
https://github.com/MariwanJ/Design456 - https://wiki.freecadweb.org/Design456_Workbench
https://www.youtube.com/watch?v=6agcHPd ... utbTDH93m_
https://github.com/MariwanJ/Design456 - https://wiki.freecadweb.org/Design456_Workbench
https://www.youtube.com/watch?v=6agcHPd ... utbTDH93m_
Re: Birth of Design456 Workbench
I am quite sure that your version of FreeCAD has got a problem .. why? Really don't know.johnwang wrote: ↑Thu Dec 02, 2021 9:43 pm This is the error running from Python consol:
OS: Windows 10 Version 2009Code: Select all
>>> ### End command Std_Workbench >>> from OCC import Core Traceback (most recent call last): File "<input>", line 1, in <module> File "H:\FreeCAD_0.20.26155_Win-LPv12.5.4_vc17.x-x86-64\bin\Lib\site-packages\shiboken2\files.dir\shibokensupport\__feature__.py", line 142, in _import return original_import(name, *args, **kwargs) ModuleNotFoundError: No module named 'OCC' >>>
Word size of FreeCAD: 64-bit
Version: 0.20.26155 (Git)
Build type: Release
Branch: master
Hash: 0926a4148bcff11249fd4f56bc30256102ffe105
Python version: 3.8.6+
Qt version: 5.15.2
Coin version: 4.0.1
OCC version: 7.5.0
Locale: English/United States (en_US)
I have two machines I test my WB on, and both works without an issue.
I still didn't use that library and I made an "If" statement to pass the problem but you need to look at your version.
I often download the weekly build and use it.. no installation.
Try to update your version and let me know if the problem still exist
Design456 Direct Modeling. Coin3D GUI Toolkit. Objects get simplified.
https://github.com/MariwanJ/Design456 - https://wiki.freecadweb.org/Design456_Workbench
https://www.youtube.com/watch?v=6agcHPd ... utbTDH93m_
https://github.com/MariwanJ/Design456 - https://wiki.freecadweb.org/Design456_Workbench
https://www.youtube.com/watch?v=6agcHPd ... utbTDH93m_
Re: Birth of Design456 Workbench
FWIW some comments and thoughts...
Umm...no preferences, ok, try GR to turn off like in Draft WB, nope.
Did I mention I hate grids?
- I have followed the development since I saw the announcement to see where it goes
- I installed today with FC 0.20 (master source build today, with OCCT 7.6) the functions I tested seem to work as indicated
- It may be a good option for those new users who are familiar Sketchup, it may feel more familiar
- I will install it occasionally to see how it progresses, but, I don't find the tools something I'd add to my personal workflow
- (Note: this is because I just don't think or design in the push/pull mode)
Umm...no preferences, ok, try GR to turn off like in Draft WB, nope.
Did I mention I hate grids?
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."