fritzing / fritzing-app

Fritzing desktop application
http://fritzing.org
Other
4.04k stars 833 forks source link

add aligment functionality (suggestion from Lionel) #501

Open davidperrenoud opened 10 years ago

davidperrenoud commented 10 years ago

From irasc...@gmail.com on January 20, 2009 02:33:31

Add typical alignment (left center right bottom) and arrangement (align top, etc) function for making part arrangements neater

Original issue: http://code.google.com/p/fritzing/issues/detail?id=501

davidperrenoud commented 10 years ago

From irasc...@gmail.com on February 24, 2009 10:32:04

Labels: -Type-Defect Type-Enhancement

davidperrenoud commented 10 years ago

From irasc...@gmail.com on March 14, 2013 16:21:56

Some suggestions (also see files from forum post http://fritzing.org/forum/thread/1425 )

Attached is a fritzing file of a simple circuit demonstrating what I would like to be able to do with multiple custom PCBs.

Giving users a way to align parts in precise increments is very important here, otherwise I will not be able to align jumpers 1 and 2 so when I stack the boards one on top of the other, the jp1 plugs into jp2.

I know its beta and you guys have done amazing so far, but more precise part placement/control (I feel) is needed before I would be confortable sending it in for production.

Rulers: The Ruler provided in Fritzing is not very easy to use. It always stays on top, no matter what. This is a problem, because I have dragged 2 rules to the PCB view, set the grid size as small as possible or turn it off, I cannot move component parts around to line up next to the rulers because the rulers are always on top and I cannot grab/select the parts. Also the rulers do not (seem) to snap/align to grid. I should be able to nudge the rulers in any direction using the arrow keys. Nudge amount set by grid size with or without snap to grid turned on.

Parts: If I turn OFF snap to grid and move a part slightly, then turn snap to grid back on and try to move the part, the part expectedly snaps back the appropriate grid size amount, but does not actually “align to grid” as the menu option states. Align to XXX options like that of InkScape would be great. Ink Scape has a ton of aligning options.

Quick fix? Allow users to set a super small grid size (.01 mm) and allow the arrow keys to move (nudge) parts (and Rulers) by that size/amount. Snapping to other objects would be great also.

davidperrenoud commented 10 years ago

From jerome.b...@gmail.com on March 15, 2013 05:26:40

Another possibility is to add x/y position to the Inspector. If I set a grid 1 mil but I still need to locate a part or a hole precisely 1 mm next to something else (because some parts are specified in mils, others in mm), the grids do not help. (Because when you switch grid increment, both grids never match, so that you cannot keep a part at a location and change the grid to move another component to a specific distance from the first component). If I can place the components on the grid and occasionally edit the x/y to move a specific value, problem is solved. Current solutions are: edit the XML (not nice) or create a part (takes time).

Comparing the grid to other software, for information:

Attachment: librecad-autozoom.png inkscape_zoomout.png

davidperrenoud commented 10 years ago

From irasc...@gmail.com on June 03, 2013 03:29:20

r6b71ad0f8c1f : basic alignment functions under the Part menu. Previously added an Inspector widget to control part position.

Status: PartlyDone

failiz commented 3 years ago

remove imported label