pythoncad-developer Mailing List for PythonCAD (Page 10)
CAD Application entire developed in Python
Status: Beta
Brought to you by:
matteoboscolo
You can subscribe to this list here.
2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(5) |
Nov
|
Dec
(13) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2010 |
Jan
(30) |
Feb
(65) |
Mar
(32) |
Apr
(42) |
May
(32) |
Jun
(18) |
Jul
(4) |
Aug
(30) |
Sep
(31) |
Oct
(28) |
Nov
(4) |
Dec
(40) |
2011 |
Jan
(18) |
Feb
|
Mar
(1) |
Apr
|
May
(1) |
Jun
(4) |
Jul
|
Aug
|
Sep
(3) |
Oct
|
Nov
|
Dec
|
2012 |
Jan
(7) |
Feb
(3) |
Mar
|
Apr
(3) |
May
|
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2013 |
Jan
|
Feb
(3) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2014 |
Jan
|
Feb
|
Mar
|
Apr
(2) |
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Matteo B. <mat...@bo...> - 2010-05-13 18:15:45
|
Hi all, Starting for the last commit [c9f927a..555d405] the entity table is changed .. Now the columns pycad_entiy_id INT is changed in pycad_entity_object TEXT So if you have any truble please call ne Regards, Matteo |
From: Matteo B. <mat...@bo...> - 2010-05-13 06:23:33
|
Hi Gertwing, The night helps to keep the idea in mind :-) So now I tell you how the new style will work. The style object will be the same as I describe you in the last mail. The style will be stored in the database as Entity in this way: Entity('STYLE'.....) So each application will manage the style with the following method: setApplicationStyle getApplicationStyle getApplicationStyleList To manage the document style you can use the following method: getActiveStyle setActiveStyle (if the style is a document style copy the style in the document) getStyleList getStyle The Entity will have the following new method: getStyle setStyle so in case you have to render a segment : from PyQt4 import QtCore, QtGui class Segment(QtGui.QGraphicsLineItem): def __init__(self, entity): super(Segment, self).__init__() pt_begin = None pt_end = None # get the geometry geometry = entity.getConstructionElements() stl=entity.getStyle() #*** <<<<<<<<<<<<<<<<<<<<<<<<<New method # get the begin and endpoint from the geometry for key in geometry.keys(): if pt_begin == None: pt_begin = geometry[key] else: pt_end = geometry[key] # set the line self.setLine(pt_begin.x, -1.0 * pt_begin.y, pt_end.x, -1.0 * pt_end.y) # set pen accoording to layer color=Stl.getStyleProp("color") #*** <<<<<<<<<<<<<<<New Method self.setPen(QtGui.QPen(QtGui.QColor.fromRgb(color))) return The user interface have to manage this style with a tree like (Just an idea..) Application |-->Application Style | |-->List of all the application style |-->Active Document Style |-->List of all the active document style In a Bold or color will be indicated in the tree view the active style the is currently set. If the user would like to use a different style he just need to select if from the tree view. But we can discuss of this topic later when we will implements it on the U/I. Regards, Matteo -----Original Message----- From: Gertwin Groen [mailto:ger...@gm...] Sent: 12 May 2010 19:43 To: Matteo Boscolo Cc: Pythoncad Developer List Subject: Re: [Pythoncad-developer] Sytile and settings In new kernel Hi Matteo, I don't have a clear view how these styles are applied to the elements in the drawing. In the database the elements have a relation with a layer, the layer triggers how the elements are drawn. So to draw the elements for each layer we need the properties color, line style, thickness, etc. Can you give an example how to retrieve the properties from the Style object? As I understand the style object is stored in the application configuration and not in the drawing, is this correct? What if the drawing contain layers that are not in the application configuration? Maybe you can give some more clarification. Regards, Gertwin 2010/5/12 Matteo Boscolo <mat...@bo...>: > Hi Gertwing, Guys, > > I have finished to implements the new style in the application. > > I would like to discuss with you what the new style object have to contains > and witch stucuture mast have. > > What I goanna do is : > > Have a style object that contains all the style setting like a dictionary .. > > So my class will be some think like this: > > STYLE_KEYWORD=[color,linetype,linethicness,textstyle,textcolor ] > > Class Style(GeometricalEntity): > > Def __init__(self,**par): > > Self.__param=par > > Def getParam(self,name): > > #Return the param value > > Def setParam(self,name,value): > > #set the param value > > .#some other useful method > > I would like to do the some think with the settings object > > The style object could be stored in application Kernel or in the single > document (the user decide which one is the active one. Of course if the user > decide to use an application style, we need to copy it in the active > document .. ) > > The Setting object could be stored in the application Kernel only. > > Let me know What do you think .. > > Or if you have some other idea for the style or application settings in > general .. > > Regards, > > Matteo > > ---------------------------------------------------------------------------- -- > > > _______________________________________________ > Pythoncad-developer mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/pythoncad-developer > > |
From: Gertwin G. <ger...@gm...> - 2010-05-12 17:42:53
|
Hi Matteo, I don't have a clear view how these styles are applied to the elements in the drawing. In the database the elements have a relation with a layer, the layer triggers how the elements are drawn. So to draw the elements for each layer we need the properties color, line style, thickness, etc. Can you give an example how to retrieve the properties from the Style object? As I understand the style object is stored in the application configuration and not in the drawing, is this correct? What if the drawing contain layers that are not in the application configuration? Maybe you can give some more clarification. Regards, Gertwin 2010/5/12 Matteo Boscolo <mat...@bo...>: > Hi Gertwing, Guys, > > I have finished to implements the new style in the application. > > I would like to discuss with you what the new style object have to contains > and witch stucuture mast have. > > What I goanna do is : > > Have a style object that contains all the style setting like a dictionary .. > > So my class will be some think like this: > > STYLE_KEYWORD=[‘color’,’linetype’,’linethicness’,’textstyle’,’textcolor’………] > > Class Style(GeometricalEntity): > > Def __init__(self,**par): > > Self.__param=par > > Def getParam(self,name): > > #Return the param value > > Def setParam(self,name,value): > > #set the param value > > ….#some other useful method > > I would like to do the some think with the settings object > > The style object could be stored in application Kernel or in the single > document (the user decide which one is the active one. Of course if the user > decide to use an application style, we need to copy it in the active > document .. ) > > The Setting object could be stored in the application Kernel only. > > Let me know What do you think .. > > Or if you have some other idea for the style or application settings in > general .. > > Regards, > > Matteo > > ------------------------------------------------------------------------------ > > > _______________________________________________ > Pythoncad-developer mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/pythoncad-developer > > |
From: Matteo B. <mat...@bo...> - 2010-05-12 13:04:05
|
Hi Gertwing, Guys, I have finished to implements the new style in the application. I would like to discuss with you what the new style object have to contains and witch stucuture mast have. What I goanna do is : Have a style object that contains all the style setting like a dictionary .. So my class will be some think like this: STYLE_KEYWORD=['color','linetype','linethicness','textstyle','textcolor'...] Class Style(GeometricalEntity): Def __init__(self,**par): Self.__param=par Def getParam(self,name): #Return the param value Def setParam(self,name,value): #set the param value ..#some other useful method I would like to do the some think with the settings object The style object could be stored in application Kernel or in the single document (the user decide which one is the active one. Of course if the user decide to use an application style, we need to copy it in the active document .. ) The Setting object could be stored in the application Kernel only. Let me know What do you think .. Or if you have some other idea for the style or application settings in general .. Regards, Matteo |
From: Gertwin G. <ger...@gm...> - 2010-05-11 10:32:55
|
Also for Linux or OSX (and windows) git-cola: http://cola.tuxfamily.org (uses pyqt) is an option. Regards, Gertwin 2010/5/11 Matteo Boscolo <mat...@bo...>: > Hi Guys, > > In those days I’m Using tortoisegit http://code.google.com/p/tortoisegit/ > on windows platform .. > > So if someone is not very happy using command line git or git-gui .. > tortoise will be a good choice .. > > Regards, > > Matteo > > ------------------------------------------------------------------------------ > > > _______________________________________________ > Pythoncad-developer mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/pythoncad-developer > > |
From: Matteo B. <mat...@bo...> - 2010-05-11 09:36:44
|
Hi Guys, In those days I'm Using tortoisegit <http://code.google.com/p/tortoisegit/> http://code.google.com/p/tortoisegit/ on windows platform .. So if someone is not very happy using command line git or git-gui .. tortoise will be a good choice .. Regards, Matteo |
From: SourceForge.net <no...@so...> - 2010-05-05 07:19:56
|
PythoncadBugTraker item #2996961, was opened at 2010-05-05 09:19 Message generated for change (Comment added) made by matteoboscolo You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1128790&aid=2996961&group_id=263167 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Bug Group: Developer >Status: Closed Resolution: None Priority: 5 Private: No Submitted By: Matteo Boscolo (matteoboscolo) Assigned to: Matteo Boscolo (matteoboscolo) Summary: Delete layer leve eco on drawing area Initial Comment: When you delete a layer the drawing area is not refreshed and you can still see the entity in the drawing area. ---------------------------------------------------------------------- >Comment By: Matteo Boscolo (matteoboscolo) Date: 2010-05-05 09:19 Message: Add a Refresh command after a delete layer comand ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1128790&aid=2996961&group_id=263167 |
From: SourceForge.net <no...@so...> - 2010-05-05 07:19:07
|
PythoncadBugTraker item #2996961, was opened at 2010-05-05 09:19 Message generated for change (Tracker Item Submitted) made by matteoboscolo You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1128790&aid=2996961&group_id=263167 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Bug Group: Developer Status: Open Resolution: None Priority: 5 Private: No Submitted By: Matteo Boscolo (matteoboscolo) Assigned to: Matteo Boscolo (matteoboscolo) Summary: Delete layer leve eco on drawing area Initial Comment: When you delete a layer the drawing area is not refreshed and you can still see the entity in the drawing area. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1128790&aid=2996961&group_id=263167 |
From: SourceForge.net <no...@so...> - 2010-04-18 07:10:41
|
PythoncadBugTraker item #2987810, was opened at 2010-04-15 19:41 Message generated for change (Comment added) made by matteoboscolo You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1128790&aid=2987810&group_id=263167 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Bug Group: User Status: Open >Resolution: Works For Me Priority: 5 Private: No Submitted By: duncan (duncan_nz) >Assigned to: Matteo Boscolo (matteoboscolo) Summary: gtkpycad.py crashed with AttributeError in __eq__() Initial Comment: This bug is from downstream in Launchpad / Ubuntu / PythonCad at https://bugs.edge.launchpad.net/ubuntu/+source/pythoncad/+bug/564056 There you can find various files from apport. Binary package hint: pythoncad I was just playing around for the first time. exited PyCad and was prompted to save, chose 'no' and this error turned up. ProblemType: Crash DistroRelease: Ubuntu 10.04 Package: pythoncad 0.1.37.0-1 ProcVersionSignature: Ubuntu 2.6.32-20.29-generic 2.6.32.11+drm33.2 Uname: Linux 2.6.32-20-generic i686 Architecture: i386 Date: Thu Apr 15 19:32:16 2010 ExecutablePath: /usr/share/pythoncad/gtkpycad.py InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta i386 (20100318) InterpreterPath: /usr/bin/python2.6 PackageArchitecture: all ProcCmdline: python /usr/bin/pythoncad ProcEnviron: LANG=en_DK.utf8 SHELL=/bin/bash PythonArgs: ['/usr/bin/pythoncad'] SourcePackage: pythoncad Title: gtkpycad.py crashed with AttributeError in __eq__() UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare ---------------------------------------------------------------------- >Comment By: Matteo Boscolo (matteoboscolo) Date: 2010-04-18 09:10 Message: I did some test on my Debian Testing version but I'm not able to reproduce the problem ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1128790&aid=2987810&group_id=263167 |
From: Matteo B. <mat...@bo...> - 2010-04-18 06:58:55
|
Hi Team, Sorry for the big mail traffic I had made . I create a new Wish Traker and I move all the Traker with wish Category from the bugTraker to the new wishTraker. I Hope That this will help the people to have more filling with our project and interact more .. I add a send mail at the developer-mailing list so all the developer team know about the traker situation ..(It's for that the you recived all those eMail) Regards, Matteo |
From: SourceForge.net <no...@so...> - 2010-04-18 06:48:22
|
PythoncadWishTraker item #2804180, was opened at 2009-06-10 16:19 Message generated for change (Settings changed) made by matteoboscolo You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1334597&aid=2804180&group_id=263167 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. >Category: Command Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Matteo Boscolo (matteoboscolo) Assigned to: Nobody/Anonymous (nobody) Summary: Nurbs Curves Initial Comment: I wold like to have nurbs curv into pythoncad ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1334597&aid=2804180&group_id=263167 |
From: SourceForge.net <no...@so...> - 2010-04-18 06:48:22
|
PythoncadWishTraker item #2913581, was opened at 2009-12-13 09:13 Message generated for change (Settings changed) made by matteoboscolo You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1334597&aid=2913581&group_id=263167 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. >Category: Command Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: Missing an hide/unhide entity comand Initial Comment: As most of the cad pakage Pythoncad need a hide/uncover command .. workaround is to work with layer and hide uncover the layer .. but will be nice to have a specific command for all the entity and that it works in all level not only the current .. Matteo ---------------------------------------------------------------------- Comment By: Gertwin (gertwin) Date: 2009-12-14 21:08 Message: Yes, I see, it is controlled by the self.__visible property of the Entity class. I can check this value when drawing the entities. So what I need for this function is new viewport state in which hidden entities are drawn. Besides that I need to know the color, linestyle and lineweight for the hidden and visible entities. I think these colors can be defined in the program (not variable to the user) there must only be a contrast between the two (gray for normal, white for hidden?) I will add a function to control the viewport state, changing the state means a redraw in the new state. The show() command: 1) change the state of the viewport, viewport draws all hidden entities. 2) user picks some hidden entities. 3) entity properties are updated 4) change the state of the viewport, viewport hides all hidden entities. Same kind of function for locked entities? ---------------------------------------------------------------------- Comment By: Matteo Boscolo (matteoboscolo) Date: 2009-12-14 18:57 Message: the Entity class have already a variable and method that define this state.. we have the show() and hide() method ... so may be we just need a way to show visible entity or hidden entity ... we need to decide how to do this command ... my proposal is: create a hide() comand that allow the use to select the entity and hide it. create a show() command that temporary show the hidden entity with a different color. and allow the user to select only the hidden entity changing the color.. ---------------------------------------------------------------------- Comment By: Gertwin (gertwin) Date: 2009-12-14 13:06 Message: Maybe a solution is to add a set of common properties to the entities. F.i. a variable "visible" (true/false) Also a properties inspector window is needed to view or modify these properties. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1334597&aid=2913581&group_id=263167 |
From: SourceForge.net <no...@so...> - 2010-04-18 06:48:22
|
PythoncadWishTraker item #2853427, was opened at 2009-09-07 10:49 Message generated for change (Settings changed) made by matteoboscolo You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1334597&aid=2853427&group_id=263167 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. >Category: Command Group: None Status: Closed Resolution: Fixed Priority: 5 Private: No Submitted By: Matteo Boscolo (matteoboscolo) Assigned to: Matteo Boscolo (matteoboscolo) Summary: New Two line Fillet Command Initial Comment: Create a new fillet command with the following input: 1) first line 2) second line 3) radius 4) trim lines - trim first - trim second - no trim Point 3-4 are option that the user have to input in the edittext. Default option are : Global variable for the radius defined in the option pannel Create a new global variable that store the trim type and show it in the option pannel Modifie the menu pannel for and add fillet->Point fillet->Two Lines ---------------------------------------------------------------------- Comment By: Matteo Boscolo (matteoboscolo) Date: 2009-09-18 01:36 Message: Now the wish is completed: the new command accept the following oprion r:10 set the fillet radius to 10 tm:f trim only the first line tm:s trim only the second line tm:b trim the two lines tm:n no trim action ---------------------------------------------------------------------- Comment By: Matteo Boscolo (matteoboscolo) Date: 2009-09-16 10:43 Message: The functionality is ready to be used .. I still have to develop the following option 4) trim lines - trim first - trim second - no trim Matteo ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1334597&aid=2853427&group_id=263167 |
From: SourceForge.net <no...@so...> - 2010-04-18 06:48:22
|
PythoncadWishTraker item #2886931, was opened at 2009-10-27 08:02 Message generated for change (Settings changed) made by matteoboscolo You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1334597&aid=2886931&group_id=263167 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. >Category: Command Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Matteo Boscolo (matteoboscolo) Assigned to: Nobody/Anonymous (nobody) Summary: Snap Across layer Initial Comment: Actualy Pytoncad Snap work on the active layer. Will be nice a sort of option that allow the user to snap across the layers. the possible solution will be : 1) Have a global option that allow cross snap functionality 2) have a command that temporary allows snap across layers ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1334597&aid=2886931&group_id=263167 |
From: SourceForge.net <no...@so...> - 2010-04-18 06:48:22
|
PythoncadWishTraker item #2820180, was opened at 2009-07-12 00:49 Message generated for change (Settings changed) made by matteoboscolo You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1334597&aid=2820180&group_id=263167 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. >Category: Command Group: None Status: Open Resolution: None Priority: 7 Private: No Submitted By: Matteo Boscolo (matteoboscolo) Assigned to: Nobody/Anonymous (nobody) Summary: Parallel line Initial Comment: It will be great to have a command to do parallel line whit simmetric possibility. It will be useful when you create symmetrical parts like axis. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1334597&aid=2820180&group_id=263167 |
From: SourceForge.net <no...@so...> - 2010-04-18 06:48:22
|
PythoncadWishTraker item #2897936, was opened at 2009-11-15 11:18 Message generated for change (Settings changed) made by matteoboscolo You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1334597&aid=2897936&group_id=263167 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. >Category: Command Group: None Status: Open Resolution: None Priority: 8 Private: No Submitted By: Matteo Boscolo (matteoboscolo) Assigned to: Matteo Boscolo (matteoboscolo) Summary: Need a hatch functionality Initial Comment: Pythoncad dose not have a hatch functionalty.. we need it .. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1334597&aid=2897936&group_id=263167 |
From: SourceForge.net <no...@so...> - 2010-04-18 06:48:22
|
PythoncadWishTraker item #2907458, was opened at 2009-12-02 13:59 Message generated for change (Settings changed) made by matteoboscolo You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1334597&aid=2907458&group_id=263167 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. >Category: Command Group: None Status: Open Resolution: None Priority: 8 Private: No Submitted By: yndesai (yndesai) Assigned to: Nobody/Anonymous (nobody) Summary: Ellipse entity needed. Initial Comment: Expand the circle entity Top Priority (from wiki feature request) ---------------------------------------------------------------------- Comment By: Matteo Boscolo (matteoboscolo) Date: 2009-12-31 10:44 Message: This track needs more priority. ---------------------------------------------------------------------- Comment By: yndesai (yndesai) Date: 2009-12-30 10:43 Message: Following parameters define Ellipse in DXF 1. Center point (x,y,z) 2. End point of Major axis relative to center point (x,y,z) 3. Ratio of minor axis to major axis 4. Start parameter (this value is 0.0 for a full ellipse) 5. End parameter (this value is 2pi for a full ellipse) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1334597&aid=2907458&group_id=263167 |
From: SourceForge.net <no...@so...> - 2010-04-18 06:35:58
|
PythoncadWishTraker item #2808246, was opened at 2009-06-18 11:04 Message generated for change (Settings changed) made by matteoboscolo You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1334597&aid=2808246&group_id=263167 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. >Category: None Group: None Status: Open Resolution: None Priority: 1 Private: No Submitted By: yndesai (yndesai) Assigned to: Matteo Boscolo (matteoboscolo) Summary: Support of 3D objects Initial Comment: Any plan to move to 3D . . . ? or pythonCAD will remain a 2D CAD software. ---------------------------------------------------------------------- Comment By: yndesai (yndesai) Date: 2009-12-01 13:39 Message: Thanks Yorik for your inputs. I Have following to say: There are 2 issues coming up 1. Adding few features in PythonCAD which helps an AutoCAD user with smallest learning curve can be one of the "Selling point" which can have more users looking at PythonCAD as their first 2D cad option. We may monitor such requests under DIFFERENT TRACKER. 2. Your idea of having pythoncad as 2D editor blender is also good idea which matches Matteo's view. My dream for PythonCAD is if there is 3D-CAD which supports python scripting (like Blender) then: 2.1 Blender user should be able to open a PythonCAD from within blender. 2.2 Create 2D drawing in PythonCAD. 2.3 Once the 2D cadding is done user moves to blender by closing pythoncad window. 2.4 Blender prompts for 3 points (origin, + 2points to defing the plane). 2.5 Drawing created in PytonCAD is now imported in the user defined plane. We do have a developer on board who have worked on blender hope we can make some progress here. ---------------------------------------------------------------------- Comment By: Yorik van Havre (yorikvanhavre) Date: 2009-11-30 14:45 Message: Hi, I am (as you both know) one of the people working on FreeCAD... There's some time I didn't look at the pythoncad code, I'm cloning right now. I have a couple of thoughts on that subject: First I think trying to behave like AutoCAD is dangerous. AutoCAD is an old prehistoric monster, and its interface is the accumulation of 20 years of features, and I think we can do much better today than the old "command line" that every autocad user says "I can't live without". Being able to do everything with the keyboard is relatively easy, and doesn't necessarily require the same implementation as autocad. In fact, today, even autocad tries to "hide" its command line in favor of that "tooltip" input box. PythonCAD is very simple, and it is an advantage, I think. About going 3D, I think it is easy and hard at the same time. Adding a Z coordinate to everything (which would basically always be = 0 in the first times) should be easy, specially in python. Having all the 2D tools behaving in 3D is not so easy, but not too difficult either (I just did it for the 2D drawign module of FreeCAD). I think the hardest part would be integrating in another software, because MANY things of PythonCAD will need to be recoded, mostly because you won't draw on your own canvas anymore, and will need to use the host application's object types. I think one path might be the most interesting: Since many of current open-source 3D applications have a python console, an interesting thing could be to try to turn PythonCAD into an importable python module. Then, you can import PythonCAD into the host application, and play with it from there, create entites, etc. Then, all you would need basically is an "interface" that would convert PythonCAD entities into the host application's entites type. Doing that way would also allow you not to decide which application to support, but test them first and see what fits your needs better. Another thought I have on that matter: The biggest problem of python is that it is slow. In a CAD application, this is in 90% of the time not important. When you execute a drawing command, you don't care if it takes 2 milliseconds or 5 milliseconds. The only point where it can be important is for example when redrawing the screen. If you have thousands of objects, the redraw will take time. "Hosting" PythonCAD into another (OpenGL-based for example) application would allow you to kill that problem. The host app would take care of fast operations such as screen redraw, etc, and PythonCAD takes care of stuff where speed is not important. So I think your idea makes much sense. FreeCAD already has a 2D module that's more or less working (I'd be glad if someone here could have a look at it and give me some feedback :), but blender is indeed a project that could be very interesting to look at. The main problem I see is that currently in blender you can add stuff to the scene with python, but not "draw" to the screen. That means, doing things like seeing your line while you draw, or drawing snap marks is quite hard. But that kind of things is expected to change drastically with the new 2.50 release. So it might be a perfect time to try something... And the blender interface is *extremely* fast... Sorry for the long bla-bla :) ---------------------------------------------------------------------- Comment By: yndesai (yndesai) Date: 2009-06-18 14:31 Message: That is a good thought . . . Main thing which has kept me monitoring PythonCAD is its AutoCAD type behavior. ie keyboard and mouse. Making PythonCAD more to behave like AutoCAD can be our next goal. ---------------------------------------------------------------------- Comment By: Matteo Boscolo (matteoboscolo) Date: 2009-06-18 11:37 Message: In first istance we need to bacame stable and full featured 2d cad.. To move in 3d mens to rewrite in total the structure (for exsample point have just 2d cooords).. I Know that thare is a project in blender to make a blender a 3d cad...(Written in python) Pythoncad could be the 2d part of it... Surfing on sourceforge there are a lot of 3d cad that are only 3d .. the 2d is very poor... So In my Plan is to join a 3d opensource cad and make pythoncad the 2d part of it.. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1334597&aid=2808246&group_id=263167 |
From: SourceForge.net <no...@so...> - 2010-04-18 06:35:34
|
PythoncadWishTraker item #2804180, was opened at 2009-06-10 16:19 Message generated for change (Settings changed) made by matteoboscolo You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1334597&aid=2804180&group_id=263167 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. >Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Matteo Boscolo (matteoboscolo) Assigned to: Nobody/Anonymous (nobody) Summary: Nurbs Curves Initial Comment: I wold like to have nurbs curv into pythoncad ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1334597&aid=2804180&group_id=263167 |
From: SourceForge.net <no...@so...> - 2010-04-18 06:35:19
|
PythoncadWishTraker item #2804184, was opened at 2009-06-10 16:25 Message generated for change (Settings changed) made by matteoboscolo You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1334597&aid=2804184&group_id=263167 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. >Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Matteo Boscolo (matteoboscolo) Assigned to: Nobody/Anonymous (nobody) Summary: Allow entering points and dimensions in feet Initial Comment: Allow entering points and dimensions in feet and inches (e.g. 2'-9 1/2”). Display dimensions in feet and inches. Settable precision (e.g. whole inches, 1/2”, 1/4”, 1/8”, 1/16”,1/32”,1/64”) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1334597&aid=2804184&group_id=263167 |
From: SourceForge.net <no...@so...> - 2010-04-18 06:35:00
|
PythoncadWishTraker item #2804188, was opened at 2009-06-10 16:26 Message generated for change (Settings changed) made by matteoboscolo You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1334597&aid=2804188&group_id=263167 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. >Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Matteo Boscolo (matteoboscolo) Assigned to: Nobody/Anonymous (nobody) Summary: The position readout should show the position units Initial Comment: And should show the current length of a segment as it is rubber-banding, or the current radius of a circle as you are drawing it. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1334597&aid=2804188&group_id=263167 |
From: SourceForge.net <no...@so...> - 2010-04-18 06:34:40
|
PythoncadWishTraker item #2853427, was opened at 2009-09-07 10:49 Message generated for change (Settings changed) made by matteoboscolo You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1334597&aid=2853427&group_id=263167 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. >Category: None >Group: None Status: Closed Resolution: Fixed Priority: 5 Private: No Submitted By: Matteo Boscolo (matteoboscolo) Assigned to: Matteo Boscolo (matteoboscolo) Summary: New Two line Fillet Command Initial Comment: Create a new fillet command with the following input: 1) first line 2) second line 3) radius 4) trim lines - trim first - trim second - no trim Point 3-4 are option that the user have to input in the edittext. Default option are : Global variable for the radius defined in the option pannel Create a new global variable that store the trim type and show it in the option pannel Modifie the menu pannel for and add fillet->Point fillet->Two Lines ---------------------------------------------------------------------- Comment By: Matteo Boscolo (matteoboscolo) Date: 2009-09-18 01:36 Message: Now the wish is completed: the new command accept the following oprion r:10 set the fillet radius to 10 tm:f trim only the first line tm:s trim only the second line tm:b trim the two lines tm:n no trim action ---------------------------------------------------------------------- Comment By: Matteo Boscolo (matteoboscolo) Date: 2009-09-16 10:43 Message: The functionality is ready to be used .. I still have to develop the following option 4) trim lines - trim first - trim second - no trim Matteo ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1334597&aid=2853427&group_id=263167 |
From: SourceForge.net <no...@so...> - 2010-04-18 06:29:29
|
PythoncadWishTraker item #2886931, was opened at 2009-10-27 08:02 Message generated for change (Settings changed) made by matteoboscolo You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1334597&aid=2886931&group_id=263167 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. >Category: None >Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Matteo Boscolo (matteoboscolo) Assigned to: Nobody/Anonymous (nobody) Summary: Snap Across layer Initial Comment: Actualy Pytoncad Snap work on the active layer. Will be nice a sort of option that allow the user to snap across the layers. the possible solution will be : 1) Have a global option that allow cross snap functionality 2) have a command that temporary allows snap across layers ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1334597&aid=2886931&group_id=263167 |
From: SourceForge.net <no...@so...> - 2010-04-18 06:29:05
|
PythoncadWishTraker item #2897927, was opened at 2009-11-15 10:38 Message generated for change (Settings changed) made by matteoboscolo You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1334597&aid=2897927&group_id=263167 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. >Category: None >Group: None Status: Closed Resolution: Fixed Priority: 5 Private: No Submitted By: Matteo Boscolo (matteoboscolo) Assigned to: Matteo Boscolo (matteoboscolo) Summary: No Message for saving when closing the application Initial Comment: When you close pythoncad ther is no message that ask you to save the file if you make some modifications. ---------------------------------------------------------------------- Comment By: Matteo Boscolo (matteoboscolo) Date: 2009-11-15 10:42 Message: Now we have this new functionality. And works in this way: When the application starts assing a new name at the file in the temp folder. when we close the application pythoncad ask for saving only if some drawing command is invoked. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1334597&aid=2897927&group_id=263167 |
From: SourceForge.net <no...@so...> - 2010-04-18 06:28:34
|
PythoncadWishTraker item #2907452, was opened at 2009-12-02 13:49 Message generated for change (Settings changed) made by matteoboscolo You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1334597&aid=2907452&group_id=263167 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. >Category: None >Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: yndesai (yndesai) Assigned to: Matteo Boscolo (matteoboscolo) Summary: Windows installer for PythonCAD Initial Comment: I wish if someone can compile an .msi (windows installer) for pythoncad which also installs related python & gtk components for windows users are too dumb to do that. If they find an windows installer already hosted we can get more users tryin pythoncad ---------------------------------------------------------------------- Comment By: Matteo Boscolo (matteoboscolo) Date: 2010-02-02 11:06 Message: We get an error using the installre It not load the gtpycad.png file ---------------------------------------------------------------------- Comment By: Matteo Boscolo (matteoboscolo) Date: 2010-02-01 16:08 Message: we have create a new installation setupusig py2exe end inno setup the setup procedure is 1) setup.py from distutils.core import setup import py2exe import glob opts = { "py2exe": { "includes": "cairo, pango, pangocairo, atk, gobject, gio", #"dll_excludes": [ #"iconv.dll","intl.dll","libatk-1.0-0.dll", #"libgdk_pixbuf-2.0-0.dll","libgdk-win32-2.0-0.dll", #"libglib-2.0-0.dll","libgmodule-2.0-0.dll", #"libgobject-2.0-0.dll","libgthread-2.0-0.dll", #"libgtk-win32-2.0-0.dll","libpango-1.0-0.dll", #"libpangowin32-1.0-0.dll"], } } setup( name = "PythonCAD", description = "CAD built from Python", version = "0.1.37", author="Art Haas,Matteo Boscolo", url="http://www.pythoncad.org/", license="GPL", windows = [ {"script": "gtkpycad.py", "icon_resources": [(1, "gtkpycad.ico")] } ], options=opts, data_files=[ 'gtkpycad.png', ] ) 2)python setup.py py2win 3) copy etc-lib-shere from gtk installation 4) use this inno setup for building the setup pakage (adgust the path in the script) ; Script generated by the Inno Setup Script Wizard. ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! [Setup] ; NOTE: The value of AppId uniquely identifies this application. ; Do not use the same AppId value in installers for other applications. ; (To generate a new GUID, click Tools | Generate GUID inside the IDE.) AppId={{F4FB95EA-37A1-4D38-9C01-BF6EF99AF4C8} AppName=PythonCad AppVerName=Pythoncad R37 AppPublisher=PythonCad AppPublisherURL=http://www.sourceforge.net/projects/pythoncad AppSupportURL=http://www.sourceforge.net/projects/pythoncad AppUpdatesURL=http://www.sourceforge.net/projects/pythoncad DefaultDirName={pf}\PythonCad DefaultGroupName=PythonCad AllowNoIcons=yes OutputBaseFilename=PythoCadSetup SetupIconFile=E:\Matteo\personale\programming\python\git\pythoncad\dist\gtkpycad.ico Compression=lzma SolidCompression=yes [Languages] Name: "english"; MessagesFile: "compiler:Default.isl" [Tasks] Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked [Files] Source: "E:\Matteo\personale\programming\python\git\pythoncad\dist\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs ; NOTE: Don't use "Flags: ignoreversion" on any shared system files [Icons] Name: "{group}\PythonCad"; Filename: "{app}\gtkpycad.exe" ;WorkingDir: "{app}";IconFilename: "{app}\gtkpycad.ico" Name: "{group}\{cm:ProgramOnTheWeb,PythonCad}"; Filename: "http://www.sourceforge.net/projects/pythoncad";WorkingDir: "{app}" ;IconFilename: "{app}\gtkpycad.ico" Name: "{commondesktop}\PythonCad"; Filename: "{app}\gtkpycad.exe"; Tasks: desktopicon ;WorkingDir: "{app}" ;IconFilename: "{app}\gtkpycad.ico" Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\PythonCad"; Filename: "{app}\gtkpycad.exe"; Tasks: quicklaunchicon;WorkingDir: "{app}" ;IconFilename: "{app}\gtkpycad.ico" [Run] Filename: "{app}\gtkpycad.exe"; Description: "{cm:LaunchProgram,PythonCad}"; Flags: nowait postinstall skipifsilent ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1334597&aid=2907452&group_id=263167 |