Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

I'd better learn LISP or C ++ to create extensions for BricsCAD

Ciao

Utilizzo il profilo di mio fratello perchè quello che ho fatto io non mi permette di fare domande (pietro_72_)

Ho l'hobby per la programmazione e sempre mio fratello m'ha chiesto se potevo fare una piccola estensione BricsCAD per collegarlo a CNC

Oltre a imparare ad usare BricsCAD quale linguaggio mi conviene inparare per provare a realizzare qualche estensione, LISP o C++ ?

Conosco un po' Python 2.xx, PHP e Javascript e correlati (PyOpenGL, Tkinter, PIL, SVG, x3dom), sto provando a realizzare un estensione per esportare in 3D da QCAD, si può vedere qualcosa sul mio sito (anche se inizio vari progetti ma poi non li completo :-D)

Pietro
http://creativitainformaticart.altervista.org/

Translation through Google

Hello

I use my brother's profile because what I did does not allow me to ask questions (pietro_72_)

I have a hobby for programming and my brother always asked me if I could make a small BricsCAD extension to connect it to CNC

In addition to learning to use BricsCAD what language should I use to try to make some extension, LISP or C ++?

I know a bit about Python 2.xx, PHP and Javascript and related (PyOpenGL, Tkinter, PIL, SVG, x3dom), I'm trying to make an extension to export in 3D from QCAD, you can see something on my site (even if I start various projects but then not complete them :-D)

Peter
http://creativitainformaticart.altervista.org/

Comments

  • Now it seems to work, thanks

  • Hi,

    For BricsCAD programming I would recommend you to invest into C++. Main reasons is if you work with CNC, rather you will work with 3D solids topology and geometry. This is allowed only on C++, LISP has no API to query face info.

    For programming BricsCAD it is sufficient to have C++ basics on C++ 11 level, understand memory management, virtual functions and some easy templates as smart pointers.

    Thus these books will be sufficient:
    https://www.amazon.com/gp/product/B00DUW4BMS/ref=dbs_a_def_rwt_hsch_vapi_taft_p1_i1
    https://www.amazon.com/Standard-Library-Tutorial-Reference-ebook/dp/B0085MNPQ6/ref=sr_1_1?keywords=stl&qid=1571975524&s=digital-text&sr=1-1

    The hard thing will be BRX API itself, i.e.:
    - accuracy in opening/closing objects
    - traversing the topology of the BRep
    - transactions
    But you can always open SR and we will share some sample code on working with BRep

    Best regards,
    Egor

  • @Egor Ermolin said:
    Hi,

    For BricsCAD programming I would recommend you to invest into C++. Main reasons is if you work with CNC, rather you will work with 3D solids topology and geometry. This is allowed only on C++, LISP has no API to query face info.

    For programming BricsCAD it is sufficient to have C++ basics on C++ 11 level, understand memory management, virtual functions and some easy templates as smart pointers.

    Thus these books will be sufficient:
    https://www.amazon.com/gp/product/B00DUW4BMS/ref=dbs_a_def_rwt_hsch_vapi_taft_p1_i1
    https://www.amazon.com/Standard-Library-Tutorial-Reference-ebook/dp/B0085MNPQ6/ref=sr_1_1?keywords=stl&qid=1571975524&s=digital-text&sr=1-1

    The hard thing will be BRX API itself, i.e.:
    - accuracy in opening/closing objects
    - traversing the topology of the BRep
    - transactions
    But you can always open SR and we will share some sample code on working with BRep

    Best regards,
    Egor

    What about .NET? Isn't is easier to learn than C++? What is the long run benefit in investing in C++? I don't have access to BRX SDK to judge the help, but the help for .NET is badly missing !

  • thanks for now
    I am more attracted to C ++ (in addition to Qt) also due to the possibility of creating applications or parts of applications that are faster than those that can be realized with interpreted languages in addition to the use of extending various CADs, in addition to the fact that with the right compilers the version of the program for multiple operating systems.
    I don't know much about .Net, but does it only work on Windows or does it also run on different operating systems?

  • Hi,

    I don't have yet experience on implementation of .NET, but can estimate pros:
    - guess it is more easy than BRX C++
    and cons:
    - it is updated with some delay in comparison with BRX API, so missing feature will first appear in C++
    - .NET is an extra wrapper layer so potentially may have more bugs than BRX

    For BRX the most tough part is to start the first application but you can find good samples in C:\Program Files\Bricsys\BricsCAD V19 en_US\API\brx . But for sake of the truth, there are .NET samples too C:\Program Files\Bricsys\BricsCAD V19 en_US\API\dotNet

    Best regards,
    Egor

  • OK, thanks
    Best regards also from me
    Peter

Sign In or Register to comment.
Origami
Origami is the Japanese word for paper folding. ORI means to fold and KAMI means paper and involves the creation of paper forms usually entirely by folding.

Powered by VanillaForums, Designed by Steam