Coder Social home page Coder Social logo

macad3d / macad3d Goto Github PK

View Code? Open in Web Editor NEW
324.0 324.0 100.0 41.38 MB

Free and OpenSource 3D Construction Tool

Home Page: https://macad3d.net

License: MIT License

C# 90.93% C++ 8.37% Inno Setup 0.29% Batchfile 0.02% C 0.39%
3d cad csharp dotnet occt opencascade wpf

macad3d's Introduction

Welcome to Macad|3D

Macad|3D is a free and open-source 3D construction program which implements easy-to-handle workflows specific to the model making hobbyist. Design and arrange your model, export perspective drawings and create source data for printing, laser cutting, milling or photo etching.

Macad|3D is mainly based on the technologies .Net, C#, C++/CLI and OpenCASCADE Technology (OCCT). Contributions are welcome, either by submitting via GitHub, or by sending a patch file to [email protected].

Official homepage and download: https://macad3d.net

Screenshot

Development requirements

  • Visual Studio 2022 Community Edition
    • .Net Desktop workload
    • C++ Desktop workload
    • .Net 8 support component
    • C++/CLI support component

Building from source

Start ScriptConsole.cmd and enter the following commands:

  1. Update dependencies from nuget servers.

     > restore
    
  2. Build the whole thing. Replace all with debug or release if only one these should be built.

     > build all
    
  3. Optionally run tests to verify your build.

     > test all
    

About OpenCASCADE Technology

The restore script downloads a pre-built version of OpenCASCADE Technology (OCCT) so that the project can be built immediately. This package contains only the parts that are used in this project. The complete distribution can be downloaded from the OCCT release page. This allows to use additional parts, build the library with other build options or to make code changes. The currently used version can be found in the about dialog.

To use an own build of OCCT, you need to configure the path to OCCT and it's dependencies using the following script console command:

> occt config <pathToOcct>

To use the pre-built package again, use the following command:

> occt config package

Please note: The OCCT installer only contains a release build, if a debug build is to be used, it must be created yourself. For this, please refer to the documentation from OCCT.

Generating the OCCT wrapper code depends on several packages to work hand in hand. If any of this packages changes, it can be at least time-consuming to track down the error and either update other packages as well or find a way around. For this reason, the generated wrapper code for the above mentioned version of the library is checked in. If you have to to re-generate the wrapper code, start the generation with the following script console command:

> occt generate

If you are missing something in the wrapper, it maybe excluded because of several reasons: Maybe it cannot be automatically wrapped yet, it did make trouble in any prior version, or it was simply not needed yet and excluded for saving compilation (and especially linking) time. Check the configuration files for the wrapper generator and enable what you need, then regenerate the wrapper code.

Acknowledgments

Thanks to JetBrains for providing a free license of ReSharper.

ReSharper logo.

macad3d's People

Contributors

dipts avatar zhyifei 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  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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

macad3d's Issues

Any plan to add "TextLabel" VisualObject?

Dear.

You have a plan to add "TextLabel " VisualObject?
I have customized you Macad3D for my own project. I need a TextLabel attached to a shape or at a position.

Thanks for this good application.

ArcTangentToArc

I am not sure, but the condition cannot be selected
ArcTangentToArc = constraintType::arcTangentToArc,

Ohne.Titel.mp4

missing snap features

i'm not really know how hard it is to be implemented, but the snap feature of vertex in a part is an important tool for precision modeling.

Commandline Macro Execution without GUI

Hi, great software! I'm attempting to run a macro using the commandline, but it seems to ignore the argument and just start the program as normal. Is there a way to start Macad3D and run the script without the GUI? Similar to FreeCADcmd mode?

[AutoRegisterHost]错误

X0MW`@WY35CQLJ9HY 4@$F9
这个[AutoRegisterHost]报错,但是当我把所有的【】屏蔽后,程序可以正常打开,只是看不见模型,请问如何解决?

[AutoRegisterHost]错误

X0MW`@WY35CQLJ9HY 4@$F9
这个[AutoRegisterHost]报错,但是当我把所有的【】屏蔽后,程序可以正常打开,只是看不见模型,请问如何解决?

.net version of Macad3D

Hi, i want to use Macad3D for my own Project.

In your Homepage, Macad targets .net framework 4.8, so i create project also based on .netframework 4.8.

And i build source code and import dll files to my project

but i got this error message


System.IO.FileNotFoundException
HResult=0x80070002
Message=Could not load file or assembly 'System.Runtime, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'

It looks like depned on .net 5.0. So, I create new project based on .net 5.0.

Bui i got another error message like below


System.BadImageFormatException: 'Could not load file or assembly 'Macad.Occt, Version=1.1.1295.3, Culture=neutral, PublicKeyToken=f3b86e0df7940e9a'.

What should i do?

[Pipe] More predefined profiles

Hi,

Latest version have great features in Pipe modifier. Add more predefined Profile selection like H, U and L could be useful. Hopefully this will be available in the next or future Macad3D.

Regards.

Import stl file, save, but cannot open again.

System: Windows 10 20H2
Macad3D Version: 2.1(Revision 1467)

Open Macad3D -> Create New -> File -> Exchange -> Import into Model

Then select the file attached(I also tried another file, same result). Save the model. Then reopen again, will show the error message(pic 2).

image

image

P31.zip

A problem about SetCursor()

Dear.

I found a problem about displaying the cursor using SetCursor().
All cursors are displayed with "None".

Please check SetCursor() in ViewportPanelModel.cs
"Cursor == null " should be modified to "cursor == null " in the SetCursor().

Crash on startup

Both Download version and build from source version crashes on startup when any of the 3 buttons are clicked (Create New or Open Existing or Open Sample). "Unhandled exception occurred..."

Crash dump file attached
Macad_Small_2023-08-23_115449.zip

Issue at Dispatcher.Run(); on line 33 of WelcomeDialog.xaml.cs: System.ArgumentException: ''{0}' must be greater than or equal to '{1}'. Arg_ParamName_Name'

I need help and encountered an error,Help me!

image
image
image
Figure 1 is an error
Figure 2 is my occt folder
Figure 3 shows some third-party packages I downloaded
I don't know how to do it?

Is it necessary to use cmake to build occt7.5 and generate a bin directory below, so that there will be .dll files? Then use oct config D:\opencascade-7.5.0?

Help me!

OCC wrapper as nuget

Is there a chance to have the OCC as a nugget package, to try to use it as geometry kernel?

Exception at Weld Operation

If it is an ellipse or a circle, the Weld operation is performed with exception (ScetchUtils.cs row 812).

Ohne.Titel.mp4

WrapperGeneration for OpenCascade 7.4.0

This is a nice work.

Do you have a WrapperGeneration for OpenCascade 7.4.0?
I must use the version currently.
Or please let me know how to modify your works.

Thank you

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.