← Back to team overview

kicad-developers team mailing list archive

Re: comments and questions on SEARCH_STACK

 

2015-09-14 19:56 GMT+02:00 Wayne Stambaugh <stambaughw@xxxxxxxxx>:
> On 9/14/2015 1:41 PM, Nick Østergaard wrote:
>> 2015-09-14 19:05 GMT+02:00 Wayne Stambaugh <stambaughw@xxxxxxxxx>:
>>> On 9/14/2015 10:29 AM, easyw@xxxxxxxxxxxx wrote:
>>>> Hi,
>>>> moreover it seems that $KIPRJMOD variable is not understood when
>>>> changing a path in 3D model selection that has already that value
>>>> configured
>>>> (Footprint Properties, 3D settings, 3D shape name)
>>>
>>> Are you saying using ${KIPRJMOD}/my3dmodel.wrl in the 3D shape name does
>>> not work?  If not, I'm not sure what you are describing here.
>>
>> You can not edit the path field in the GUI. And the add shapes file
>> browser does not let you add it.
>
> Use the edit filename button (see attachment).  It's less than elegant
> but you do not need to use an external text editor.

Ohh, that is how you do it. I swear that I am not really blind or
anything, but that one I did not catch.. but yay, it is actually
possible to do in the GUI. :P

>>>> It would be also useful to use/insert '$KIPRJMOD' variable when choosing
>>>> relative path.
>>>> Relative path is NOT working in windows.
>>>
>>> Relative path don't work anywhere except in a few carefully controlled
>>> situations.  The problem with relative paths is what path are the
>>> actually relative to.
>>
>> ${KIPRJMOD}
>
> Would you bet your life on this?  This may be what you think it should
> be relative to.  Others may not have the same expectation.
>
>>
>>>> At the moment the variable, in my knowledge, can be put only by hand
>>>> with a text editor.
>>>
>>> Which files are you talking about?  AFAIK, you can add any environment
>>> variable expansion ${ENV_VER} to a 3D footprint in the footprint editor.
>>
>> I did it only on the kicad_pcb file, I have not actually set the
>> property for the footprint.


References