← Back to team overview

kicad-developers team mailing list archive

Re: PATCH: restore Meter option to VRML export + other changes

 

Hi Cirilo,

may be a wxradiobox Manual Offset '- enable'  '* disable' would be fine...

thank you again
Maurice

On 14/08/2015 00.01, Cirilo Bernardo wrote:
I could make the unit choice "auto", "mm", "in" where auto = guess at board
center,
but I'm not comfortable with that since "auto" is not a unit and is not
selecting a unit.
Another alternative is to add a button to enable/disable the manual offset
entry but
I have a feeling that will make the GUI look ugly/uglier. I will think
about it more.

- Cirilo


On Fri, Aug 14, 2015 at 7:35 AM, easyw <easyw@xxxxxxxxxxxx> wrote:

I Cirilo,

I tested the release 6091, and I noticed that there is the new Grid
reference point, which is a nice feature.

It would be possible to display in the exporting dialog, instead of 'X
ref: 0, Y ref: 0' the actual base point of the board?

In this way it would be compatible with old IDF export...

I mean if the user wants to place the IDF pcb at X=0, Y=0 he has only to
put 0 on the X ref and Y ref fields; if not the IDF pcb will be exported as
in previous versions to the center of the pcb coordinates in kicad.

I know it would be possible to insert the mid value of the board, but it
should be calculate manually, getting values from the pcb edges of the
board.
Putting in the dialog fields as default the the center of the pcb
coordinates in kicad will avoid that operation and do not change the way it
was exported in previous versions.

I'm asking that because in this way kicad StepUp chain will keep working
as in previous versions...

I mean I can change myself the value of the pcb IDF position, but this
would be done discriminating which version of pcbnew is used... before 6091
or after.

thank you
Maurice


On 13/08/2015 03.10, Cirilo Bernardo wrote:

The attached patch implements the following changes:

1. Restores a "Meter" output option to the VRML export

2. Adds a "Grid Reference Point" to the VRML export; this
allows a user to specify the (X,Y) coordinate which will be
the origin point on the output. Previous behavior was to
guess a point at the center of the board, but a user-specified
value is more useful and was planned though never implemented.

3. Adds a "Grid Reference Point" to the IDF export; this
is similar in purpose to the corresponding VRML export feature.

  From my perspective the addition of the Grid Reference Point
is the last minor improvement to the VRML and IDF export
code. Except for bug fixes I have no intention of making any
further changes to those export codes until after the post-
release 3D refactoring.

Despite the size of the patch, the changes are minor. The bulk
of the patch is due to wxFormBuilder's autogenerated code.

- Cirilo



_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp





References