kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #19625
Re: proposed changes to VRML and IDF exporters
Hi Maurice,
The X,Y,Z offset associated with the individual IDF component models is
interpreted as whatever the currently selected pcbnew units are (mm, inch)
so the interpretation varies. I need to change the code so that the XYZ
offset is always interpreted as inches.
The board offset is a different matter; I use an approximation of the board
center for (0,0) but it would be much better if the reference point can be
specified so the user can control this.
- Cirilo
On Wed, Aug 5, 2015 at 6:37 PM, easyw <easyw@xxxxxxxxxxxx> wrote:
> Hi Cirilo,
>
> which is the offset problem in IDF exporter?
> At the moment the only issue I've found in the IDF exported file is the
> offset of the pcb when you rotate the board and components inside kicad
> pcbnew before export the IDF file (but I think is a quite improbable
> case)...
>
> thank you
> Maurice
>
>
>
> On 05/08/2015 10.22, Cirilo Bernardo wrote:
>
>> Hi folks,
>>
>> I'd like an opinion on some changes I'd like to make to the VRML
>> and IDF exporters before the stable release.
>>
>> 1. VRML: In "Export VRML" the choices of unit in the output file are
>> Inch, mm, and meter. In my opinion the 'meter' option is 100%
>> useless and I propose to change this to 100 mil (or equivalently,
>> 0.1 inch). This will push the VRML exporter 1 step closer to being
>> able to export a model which can be reused as a subassembly
>> within KiCad. I don't know the current state of the VRML parser
>> code - but if the parser currently resolves URNs then adding this
>> 0.1 inch option will indeed produce models which can be fed back
>> into KiCad.
>>
>> 2. IDF: My treatment of the 'offset' values in the IDF exporter is
>> wrong; this is a bug although not a bug which is likely to be
>> seen in action. I propose to fix this bug before the release. It might
>> sound silly that I ask for an opinion before doing this task, but
>> the reason I ask is that I really haven't got much free time at all
>> so I wouldn't bother unless others believed that I should fix the bug
>> immediately.
>>
>> - 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