* [ISSUE] KiCAD step 3D rendering
@ 2019-12-27 17:32 voidlinux-github
2019-12-28 17:15 ` voidlinux-github
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: voidlinux-github @ 2019-12-27 17:32 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 838 bytes --]
New issue by groundstack on void-packages repository
https://github.com/void-linux/void-packages/issues/17818
Description:
### System
* xuname:
Void 5.3.18_1 x86_64-musl GenuineIntel notuptodate rF
* package:
KiCAD
### Expected behavior
From PCBnew, pressing alt-3 should see a 3D view of the board with populated components, linked to individual step files.
### Actual behavior
Only displays bare PCB or board populated with WRL components.
### Steps to reproduce the behavior
Open pcbnew, select any component, press 'E' , go to 3D tab and link a step file for this package. During selection you should see a preview of the package which is not visible.
### Probable cause
Looking at template file on github:
-DKICAD_USE_OCE=OFF
This setting may need to be enabled if I remember correctly.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: KiCAD step 3D rendering
2019-12-27 17:32 [ISSUE] KiCAD step 3D rendering voidlinux-github
@ 2019-12-28 17:15 ` voidlinux-github
2019-12-28 17:20 ` voidlinux-github
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: voidlinux-github @ 2019-12-28 17:15 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1850 bytes --]
New comment by groundstack on void-packages repository
https://github.com/void-linux/void-packages/issues/17818#issuecomment-569434253
Comment:
I recompiled the kicad package with OCE option enabled and the packages now are viewable.
Changes on template file:
makedepends=
I removed ooct-devel and added oce-devel
then changed 'configure_args' -DKICAD_USE_OCE=OFF to ON.
I recompiled with xbps-src and installed.
This is template file as I used today:
# Template file for 'kicad'
pkgname=kicad
version=5.1.5
revision=1
build_style=cmake
configure_args="-DKICAD_BUILD_VERSION=${version} -DKICAD_SCRIPTING=ON
-DKICAD_SCRIPTING_MODULES=ON -DKICAD_SCRIPTING_WXPYTHON=ON
-DKICAD_SCRIPTING_ACTION_MENU=ON -DBUILD_GITHUB_PLUGIN=ON -DKICAD_USE_OCE=ON
-DKICAD_SPICE=$(vopt_if spice ON OFF)"
hostmakedepends="pkg-config swig wxWidgets-devel"
makedepends="wxWidgets-devel wxPython-devel python-devel glew-devel cairo-devel
libressl-devel boost-devel libcurl-devel glm oce-devel libgomp-devel
$(vopt_if spice ngspice-devel)"
depends="wxPython"
short_desc="Electronic schematic and PCB design software"
maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
license="GPL-3.0-or-later"
homepage="http://kicad-pcb.org"
distfiles="https://launchpad.net/${pkgname}/${version%%.*}.0/${version}/+download/${pkgname}-${version}.tar.xz"
checksum=80625a1da876e1be683dc08268fe43fe67bb704e841e977431f7a82bdc096474
build_options="spice"
build_options_default="spice"
CXXFLAGS="-std=c++17"
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" python wxPython"
configure_args+=" -DPYTHON_SITE_PACKAGE_PATH=${XBPS_CROSS_BASE}/${py2_sitelib}
-DPYTHON_DEST=${py2_sitelib}"
fi
pre_configure() {
if [ "$CROSS_BUILD" ]; then
CXXFLAGS+=" $(wx-config --cxxflags)"
fi
}
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: KiCAD step 3D rendering
2019-12-27 17:32 [ISSUE] KiCAD step 3D rendering voidlinux-github
2019-12-28 17:15 ` voidlinux-github
@ 2019-12-28 17:20 ` voidlinux-github
2019-12-28 17:20 ` voidlinux-github
2019-12-28 19:13 ` voidlinux-github
3 siblings, 0 replies; 5+ messages in thread
From: voidlinux-github @ 2019-12-28 17:20 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 200 bytes --]
New comment by xtraeme on void-packages repository
https://github.com/void-linux/void-packages/issues/17818#issuecomment-569434961
Comment:
Please provide a proper path via Pull Request.
Thanks!
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: KiCAD step 3D rendering
2019-12-27 17:32 [ISSUE] KiCAD step 3D rendering voidlinux-github
2019-12-28 17:15 ` voidlinux-github
2019-12-28 17:20 ` voidlinux-github
@ 2019-12-28 17:20 ` voidlinux-github
2019-12-28 19:13 ` voidlinux-github
3 siblings, 0 replies; 5+ messages in thread
From: voidlinux-github @ 2019-12-28 17:20 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 201 bytes --]
New comment by xtraeme on void-packages repository
https://github.com/void-linux/void-packages/issues/17818#issuecomment-569434961
Comment:
Please provide a proper patch via Pull Request.
Thanks!
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: KiCAD step 3D rendering
2019-12-27 17:32 [ISSUE] KiCAD step 3D rendering voidlinux-github
` (2 preceding siblings ...)
2019-12-28 17:20 ` voidlinux-github
@ 2019-12-28 19:13 ` voidlinux-github
3 siblings, 0 replies; 5+ messages in thread
From: voidlinux-github @ 2019-12-28 19:13 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1856 bytes --]
New comment by groundstack on void-packages repository
https://github.com/void-linux/void-packages/issues/17818#issuecomment-569434253
Comment:
I recompiled the kicad package with OCE option enabled and the packages now are viewable.
Changes on template file:
makedepends=
I removed ooct-devel and added oce-devel
then changed 'configure_args' -DKICAD_USE_OCE=OFF to ON.
I recompiled with xbps-src and installed.
This is template file as I used today:
```
# Template file for 'kicad'
pkgname=kicad
version=5.1.5
revision=1
build_style=cmake
configure_args="-DKICAD_BUILD_VERSION=${version} -DKICAD_SCRIPTING=ON
-DKICAD_SCRIPTING_MODULES=ON -DKICAD_SCRIPTING_WXPYTHON=ON
-DKICAD_SCRIPTING_ACTION_MENU=ON -DBUILD_GITHUB_PLUGIN=ON -DKICAD_USE_OCE=ON
-DKICAD_SPICE=$(vopt_if spice ON OFF)"
hostmakedepends="pkg-config swig wxWidgets-devel"
makedepends="wxWidgets-devel wxPython-devel python-devel glew-devel cairo-devel
libressl-devel boost-devel libcurl-devel glm oce-devel libgomp-devel
$(vopt_if spice ngspice-devel)"
depends="wxPython"
short_desc="Electronic schematic and PCB design software"
maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
license="GPL-3.0-or-later"
homepage="http://kicad-pcb.org"
distfiles="https://launchpad.net/${pkgname}/${version%%.*}.0/${version}/+download/${pkgname}-${version}.tar.xz"
checksum=80625a1da876e1be683dc08268fe43fe67bb704e841e977431f7a82bdc096474
build_options="spice"
build_options_default="spice"
CXXFLAGS="-std=c++17"
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" python wxPython"
configure_args+=" -DPYTHON_SITE_PACKAGE_PATH=${XBPS_CROSS_BASE}/${py2_sitelib}
-DPYTHON_DEST=${py2_sitelib}"
fi
pre_configure() {
if [ "$CROSS_BUILD" ]; then
CXXFLAGS+=" $(wx-config --cxxflags)"
fi
}
```
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2019-12-28 19:13 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-27 17:32 [ISSUE] KiCAD step 3D rendering voidlinux-github
2019-12-28 17:15 ` voidlinux-github
2019-12-28 17:20 ` voidlinux-github
2019-12-28 17:20 ` voidlinux-github
2019-12-28 19:13 ` voidlinux-github
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).