Hi. Why is the numeric dimension label not showing up? I start at a
'New' document, draw two points, and put a dimension between them, and
I see no number.
--
--my blog is athttp://blog.russnelson.com | When immigration is
Crynwr sells support for free software | PGPok | outlawed, only c
Art Haas writes:
> 'Modify' -> 'Change' -> 'Dimension' -> 'Primary Dim String' -> 'Size'
Ah, yes, that fixes it.
But I just discovered a few bugs. First one is that File->New is not
undoable. Why shouldn't it be? That's a better paradigm than to ask
"Are you sure?" Because nearly always
Art Haas writes:
> Doing a 'File->New' from the menu opens up a new window,
It does; I didn't notice that until after I sent the email.
> Handling undo operations in the middle of creating some entity will
> require some thought as to how, or even if, it can be done.
Art Haas writes:
> Here's
Is there a way to rotate objects?
Is there a way to set the dimensions of objects?
I need to draw a bunch of fixed-size holes for switches, but they need
to be at varying rotations.
--
--my blog is athttp://blog.russnelson.com | When immigration is
Crynwr sells support for free software |
Art Haas writes:
> On Mon, Jun 05, 2006 at 11:55:03AM -0400, Russ Nelson wrote:
> > Is there a way to rotate objects?
> > Is there a way to set the dimensions of objects?
> >
> > I need to draw a bunch of fixed-size holes for switches, but they need
>
Art Haas writes:
> to place the parallel line. Use a similar procedure for creating
> horizontal lines 13.55mm across. You then go to 'Draw'->'Segment' and
> draw segments on the box defined by the construction lines.
Hrm. Okay, I can make four angled construction lines, however there
are only
Is it appropriate to send patches to the list? This one's fairly
short, so I'll take the chance. This code is much simpler to read and
understand.
diff -ur orig/PythonCAD/Interface/Gtk/gtkmenus.py
./PythonCAD/Interface/Gtk/gtkmenus.py
--- orig/PythonCAD/Interface/Gtk/gtkmenus.py2006-05-11 1
I'm noticing that code in gtkmenus.py which looks like this:
#
def select_all_circles_cb(menuitem, gtkimage):
_active_layer = gtkimage.getActiveLayer()
for _circle in _active_layer.getLayerEntities("circle"):
gtkimage.sele
In Interface/Gtk/gtkedit.py/select_motion_notify, _width and _height
are set but not used.
Other than that, it's the same code as in gtkmirror.py/select_motion_notify,
which is the same code as in gtkmodify.py/select_motion_notify.
--
--my blog is athttp://blog.russnelson.com | When immigr
In Interface/Gtk/gtkmirror.py/get_mirror_line_cb, a variable called
"_got_line" is being set, but is never being used. Should that line
be removed?
--
--my blog is athttp://blog.russnelson.com | When immigration is
Crynwr sells support for free software | PGPok | outlawed, only criminals
o Modify/Mirror
o Click on a construction line
o It says "Click on the objects to mirror"
o Click on an object Mirrored.
o It says "Click on the mirroring construction line"
Perhaps it should say "Click on the object to mirror"?
Maybe, since it allows a rubberband select, it should say
ve As
Type the filename. PythonCAD will append .xml.gz
Russ Nelson
Last modified: Tue Jun 6 12:06:09 EDT 2006
___
PythonCAD mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pythoncad
Art Haas writes:
> I've tweaked this code slightly after reading your mail. I changed
> the prompt after the mirror line is selected, and if the first mouse
> click doesn't land on an object then the prompt changes again to
> indicate the selection is done via boxing the objects.
Hrm. I've go
I'm trying (as I said before) to design a set of holes for switches,
and I want to use the printed output as a template for cutting holes.
I'll print the output on sticky-back paper, stick it to the panel, and
cut right from the printout.
Not clear to me what "size" paper I should select to get a
Is there a way to create components in PythonCAD? There are two ways
components might work: held together as a set of objects, or inserted
into a drawing as unaggregated objects. The latter is already
implementable using cut and paste. Load up a component's drawing in a
File/New window, select t
I've been looking at the way various components get specified, and
there seems to be a fair amount of overlap. And yet the callback
system of gtk doesn't lend itself well to subroutines. I wonder if it
might be a great simplification to have a state table?
Instead of changing the callback handle
I'm trying to avoid working on what I *should* be working on, so I
banged out some details of the proposed state table. The callbacks
look at the current state's 'input' value to see what they should do.
The motion notify will rubberband from the previously saved point (and
Radius and Angle) if re
Hi. How do I put a point at the intersection of two construction
lines? I mean, apart from zooming WAY in, and eyeballing the
intersection?
Sorry to ask a dumb question, the answer for which I could probably
get by grovelling through the source code. Sometimes ya wanna hack,
and other times you
Art Haas writes:
> You shouldn't have to zoom in, just click on the intersection. The
> program will try to find an intersection near where you click if one
> exists. If you click too far away (about 5 pixels or so) then the
> program is likely to either choose a point on one of the constructio
Art Haas writes:
> I'm not sure what you mean when you write 'set two points on the
> diagonal'. Regardless, I'll do some drawing and see if I can duplicate
> the problem.
The O's are points, the crosses are intersections without a point, and
the lines are either construction lines or segments
Art Haas writes:
> Adding a Rotate operation would be great.
Still working on that. I'm noticing that there isn't much error
reporting. For example, if you Modify/Mirror something, and then
don't click on a construction line, it doesn't tell you that. Is that
a feature or a bug?
--
--my blog
Art Haas writes:
> The patch below contains the changes listed above, and I've
> also sent the changes to the public repo so people using
> Subversion can get the fix with 'svn update'.
Woo hoo! Well done. Now I have to remember what I was doing when I
ran across this. :-)
--
--my blog is
This patch allows you to zoom in and out using the mouse wheel. I
think it has three problems:
1) the scroll increment is too large for a wheel.
2) it's a little hackish to be calling a menu item (but I wanted the
patch to be short).
3) The scrolling should also pan at the same time so
Should menus be created via tables? I suggest this because it will
reduce the amount of code that people need to read. The menu creation
code is very structured. The reason not to do it is because some day
a menu entry (e.g. a "Recent Files" menu) may need to be computed
rather than static.
I a
When you print something with dimensions, it appears as if the text of
the dimensions is being printed twice: once as a TextBlock, and again
as a DimString.
--
--my blog is athttp://blog.russnelson.com | When immigration is
Crynwr sells support for free software | PGPok | outlawed, only cr
I plan to create some parts by printing to sticky paper, sticking the
paper directly to the raw material, and then cutting the part out.
Thus, I need "Exact" scale printing, so that something drawn 10cm x
10cm gets printed at 10cm x 10cm regardless of the size of the paper.
Units are taking into ac
Franklin Bowie writes:
> Is there an active website for PythonCAD? www.pythoncad.org does
> not seem to exist.
It's working for me.
--
--my blog is athttp://blog.russnelson.com | Teachers teach in spite
Crynwr sells support for free software | PGPok | of what children do.
521 Pleas
Art Haas writes:
> I'm the only regular programmer on the project. Other people have
> contributed bug fixes and patches, but there hasn't been anyone who has
> become a regular contributor. That's the problem I'm hoping to resolve,
> and I'm glad to see that there's been some traffic on the ma
Ed Richley writes:
> I think I can fix this by ensuring that end angle > start angle in
> the PS arc command, but I wonder if that creates a new problem.
No, that should be fine.
--
--my blog is athttp://blog.russnelson.com | In my head, I'm
Crynwr sells support for free software | PGPo
Art Haas writes:
> I made the DNS changes at NetworkSolutions last weekend, but apparently
> messed things up somehow as the PythonCAD website is still offline. I've
> been swamped at work and haven't had time to try and figure out what
> needs to be done to get the website back online.
Should
Paulo Silva writes:
> more than open source, it's software libre (confusions between open
> source and software libre must be avoided, for example, Microsoft has
> open source licenses that they are not libre at all)
What ARE you talking about?? If a license is open source, it's
software livre.
Paulo Silva writes:
>
> On 4/4/12, Russ Nelson wrote:
> > Paulo Silva writes:
> > > more than open source, it's software libre (confusions between open
> > > source and software libre must be avoided, for example, Microsoft has
> > > open so
32 matches
Mail list logo