Search found 504 matches

by dcapeletti
Sat Aug 04, 2018 5:48 pm
Forum: Open discussion
Topic: Cancel or prevent deletion of objects
Replies: 7
Views: 934

Re: Cancel or prevent deletion of objects

That implementation is much better than I've done.

While this is a step forward, consideration should be given to implementing these functions to prevent the removal of objects in FreeCAD if the user ticks it so that it cannot be removed.

Thank you for sharing. ;)
by dcapeletti
Sat Aug 04, 2018 5:37 am
Forum: Open discussion
Topic: Cancel or prevent deletion of objects
Replies: 7
Views: 934

Re: Cancel or prevent deletion of objects

I created my undo function and assigned it to std_delete. Now when I delete the object from any menu or from the delete key, the undo function is executed and the object is not deleted. This could be added as FreeCAD's own functionality, such as documents that do not allow you to delete objects, jus...
by dcapeletti
Fri Aug 03, 2018 5:12 pm
Forum: Open discussion
Topic: Cancel or prevent deletion of objects
Replies: 7
Views: 934

Re: Cancel or prevent deletion of objects

I understand.
What I want to achieve is that the user cannot delete the objects from the model, but can edit them.
I have removed the menus from the FreeCAD view, so the user cannot access the menus. Now I just need to find out if it's possible to change the behavior of the Del key.
Thanks!
by dcapeletti
Fri Aug 03, 2018 12:23 pm
Forum: Foro en Español
Topic: Consejos para impresión 3D
Replies: 0
Views: 622

Consejos para impresión 3D

Estimados, estamos diseñando piezas paramétricas y queremos iniciarnos en la impresión 3D. Queremos acatar todos los temas de diseño y recomendaciones que puedan ser útiles para iniciarnos en la impresión 3D. Intento responder a las siguientes preguntas: ¿Qué criterios debería cumplir mi diseño para...
by dcapeletti
Thu Aug 02, 2018 7:51 pm
Forum: Python scripting and macros
Topic: Add events to new menu
Replies: 5
Views: 495

Re: Add events to new menu

I have a class to draw a screen, but when I execute the function from the menu to create it, it is not drawn on the screen. from PySide import QtGui def crearOrdenTrabajo(): orden = NuevaOrdenTrabajo() orden.exec_() ... mnuOrdenTrabajo = mnu.addAction("Nueva orden de trabajo...") mnuOrdenT...
by dcapeletti
Thu Aug 02, 2018 5:56 pm
Forum: Python scripting and macros
Topic: Add events to new menu
Replies: 5
Views: 495

Re: Add events to new menu

Thank you. Thank you. It works perfectly.... ;)
by dcapeletti
Thu Aug 02, 2018 11:30 am
Forum: Install / Compile
Topic: Unable to compile Freecad
Replies: 9
Views: 2165

Re: Unable to compile Freecad

Some modules such as mathplotlib were not found, which means that the Plot module will not be available. But you can still build FreeCAD and use it without problems.

Greetings
by dcapeletti
Thu Aug 02, 2018 10:44 am
Forum: Python scripting and macros
Topic: Development environments for python script in freecad
Replies: 2
Views: 532

Re: Development environments for python script in freecad

Using Eclipse, I'll see how I can set it up.
Greetings
by dcapeletti
Thu Aug 02, 2018 10:43 am
Forum: Developers corner
Topic: 3D navigation by touchscreen gestures
Replies: 16
Views: 5081

Re: 3D navigation by touchscreen gestures

This is a very important issue, so I will be willing to help at some point.
by dcapeletti
Wed Aug 01, 2018 8:20 pm
Forum: Python scripting and macros
Topic: Add events to new menu
Replies: 5
Views: 495

Add events to new menu

I have the following script: mw = FreeCADGui.getMainWindow() mnu = mw.menuBar() mainMenu = mnu.addMenu("Proteinum") mnuOrdenTrabajo = mainMenu.addAction("Nueva orden de trabajo...") mnuListarOrdenTrabajo = mainMenu.addAction("Listar ordenes de trabajo...") mnuSalir = ma...