kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #18432
Re: 3D Scale settings
Le 02/06/2015 02:01, Cirilo Bernardo a écrit :
> That looks good to me and it will also be extremely useful
> for all other types of 3D models (currently only IDF but
> IGES is in development). This would require a change in
> the file format, specifically the addition of a unit type in the
> 3D model section, and I think such a change is best done
> before the stable release so that people who adopt the
> stable release aren't bitten by a pcbnew file format change
> later.
>
> I would use radio buttons rather than normal buttons and
> perhaps change that unit to "0.1 inch" to serve the existing
> models or even consider 3 sets of units: mm, in, 0.1in.
>
> - Cirilo
>
>
> On Tue, Jun 2, 2015 at 8:25 AM, Brian Sidebotham <brian.sidebotham@xxxxxxxxx
>> wrote:
>
No need to change file format.
File assumes the 3D unit is 0.1 inch.
The actual 3D unit is 0.1 inch * scale factor.
You can have a choice between 3D model unit ( for instance inch, 0.1
inch and mm ).
(default is 0.1 inch for now for 3D wings models)
The "user" scale adjust value displayed in the current dialog is only
for this dialog.
unit scale is a pre-scaler to convert the selected unit to 0.1 inch.
the user scale adjust displayed is the <scale value for 0.1 inch> /
<pre-scaler> and the file stores the value <user scale> x <pre-scaler>
<scale value for 0.1 inch> is not always 1
It could be worth also to display offset values according to the units
selected in pcbnew (inch/mm).
>> On 1 June 2015 at 10:46, Brian Sidebotham <brian.sidebotham@xxxxxxxxx>
>> wrote:
>>> On 31 May 2015 at 23:25, Cirilo Bernardo <cirilo.bernardo@xxxxxxxxx>
>> wrote:
>>>> Hi Brian,
>>>>
>>>> I suggest we leave the scaling etc until after the stable release;
>> it's a
>>>> nightmare.
>>>>
>>>> Historically the scaling allowed users to reuse similar models if they
>>>> didn't already
>>>> have a suitable model, for example grow or shrink a THT 0.25W resistor
>> to
>>>> pretend
>>>> it's a 0.5/1.0/2.0W type or a small glass-encapsulated diode. I think
>> with
>>>> the
>>>> currently available tools and numerous models there is no need to
>> support
>>>> this
>>>> intended behavior and the GUI should only have a Z rotation and a Z
>> offset;
>>>> to
>>>> remove all ambiguity we do need to specify the units of the Z offset.
Yes.
There is also an other reason:
The grid in Wings3D is not ajustable (Wings3D is a 3D modeler, not a MCAD).
Therefore for small 3D shapes (like SMxx) you cannot easily create them
at 1.0 scale with Wings3D.
Using 10 x scale is more easy.
The opposite is also true, for large 3D shapes (like connectors) which
need a scale < 1.
>>>
>>> Changing the way scaling works is not on the table here. Only a
>>> user-helper which is to fill in the pre-existing scale UI with values
>>> that are awkward to work out for a normal user (and laborious to type
>>> for everyone). That's all I'm proposing - as well as a documentation
>>> update.
>>>
>>
>> Like this:
>>
>>
>>
>>
>
>
>
> _______________________________________________
> 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
>
--
Jean-Pierre CHARRAS
Follow ups
References