Search found 583 matches

by damian
Fri Nov 16, 2018 7:51 pm
Forum: Foro en Español
Topic: pérdida de variables
Replies: 5
Views: 1148

Re: pérdida de variables

¿alguien sabe que está pasando? Pues ni idea @jvrajadell, pero si cuelgas en el foro el archivo con el problema seguramente alguien le heche un vistazo y a lo mejor encuentra algún fallo o puede confirmar un bug. Acuerdate de incluir tu version del programa. OS: Ubuntu 16.04.5 LTS Word size of OS: ...
by damian
Thu Nov 15, 2018 9:50 am
Forum: Foro en Español
Topic: Problema visualización de objetos
Replies: 8
Views: 2268

Re: Problema visualización de objetos

mack197 wrote: Wed Nov 14, 2018 8:36 pm ¿Que registros habría que borrar?
prueba a borrar el archivo user.cfg
En mi caso el comando App.ConfigDump() me informa que se ubica en
C::\\users\\damian\\Aplication Data\\FreeCAD\\user.cfg
by damian
Wed Nov 14, 2018 9:46 pm
Forum: Foro en Español
Topic: Problema visualización de objetos
Replies: 8
Views: 2268

Re: Problema visualización de objetos

¿Alguien sabe si borrando todos los datos del registro de windows y realizando la instalación de nuevo volvería a quedar "predeterminado" todo? Eso me lleva a preguntar, ¿Que registros habría que borrar? Yo soy usuario de linux, pero utilizo la version windows (instalada en wine) descarga...
by damian
Wed Nov 14, 2018 7:42 pm
Forum: Foro en Español
Topic: Problema visualización de objetos
Replies: 8
Views: 2268

Re: Problema visualización de objetos

hola @mack197
La verdad es que no tengo ni idea cual puede ser el problema, pero podrías revisar Edicion-Preferencias-Visualizacion-Vista3D-Utilizar OpenGL
¿Has cambiado la configuración de tu tarjeta gráfica o se ha actualizado ultimamente?
suerte
by damian
Tue Nov 06, 2018 4:30 pm
Forum: Foro en Español
Topic: Diseño con muchas piezas, ¿cómo manejarlo de formar cómoda y rápida?
Replies: 3
Views: 1126

Re: Diseño con muchas piezas, ¿cómo manejarlo de formar cómoda y rápida?

Hola.
Entiendo que tu estas preguntando por el módulo de ensamblaje. No te puedo explicar como funciona porque no lo conozco, pero si se que tienen su propio foro https://forum.freecadweb.org/viewforum.php?f=20
by damian
Mon Nov 05, 2018 8:37 pm
Forum: Python scripting and macros
Topic: [Solved] Saving Python Features to the document
Replies: 19
Views: 3128

Re: Saving Python Features to the document

wandererfan wrote: Mon Nov 05, 2018 3:23 pm Possibly relevant to saving scripted object:
https://www.forum.freecadweb.org/viewto ... 27&t=31623
Ok. I'm seeing it from a few days ago and, to be honest, I don't understand too much. Now I'm relating. Thank you
by damian
Mon Nov 05, 2018 8:33 pm
Forum: Python scripting and macros
Topic: [Solved] Saving Python Features to the document
Replies: 19
Views: 3128

Re: Saving Python Features to the document

For python property, I was referring to a simple python attribute or a property defined with decorators

Code: Select all


@property
def myProperty(self):
    return self.myProperty

@myProperty.setter
def myProperty(self, myProperty):
    self.myProperty = myProperty
	
or something similar
by damian
Mon Nov 05, 2018 8:26 pm
Forum: Python scripting and macros
Topic: [Solved] Saving Python Features to the document
Replies: 19
Views: 3128

Re: Saving Python Features to the document

I just tested the example suggested by you and it doesn't work either. Theres the following error when loading a saved file with a scripted object inside: Code: Select all <unknown exception traceback><type 'exceptions.AttributeError'>: 'module' object has no attribute 'Line' <unknown exception tra...
by damian
Mon Nov 05, 2018 2:46 pm
Forum: Python scripting and macros
Topic: [Solved] Saving Python Features to the document
Replies: 19
Views: 3128

Re: Saving Python Features to the document

bliepp wrote: Mon Nov 05, 2018 1:07 pm Theres the following error when loading a saved file with a scripted object inside:
Now I'm going out ... Tonight I'll answer you.
EDIT: this error message is due to the code is not stored in the folder ~/.FreeCAD/Mod (in my system). See you
by damian
Mon Nov 05, 2018 1:43 pm
Forum: Python scripting and macros
Topic: [Solved] Saving Python Features to the document
Replies: 19
Views: 3128

Re: Saving Python Features to the document

If they are python's properties or attributes you'll need the methods __getstate__ and setstate__. There is an alternative way using the freecad's property App::PropertyPythonObject. In all cases, the stored information must be in a format supported by json, https://docs.python.org/2/library/json.h...