version 9.0.0 Le mardi 19 août 2025 à 22:48:34 UTC+1, [email protected] a écrit :
> Hi Zaftrox, > > Which version are you using? Are you using the 9.0.1 regular release, > older version or the 9.0.1 FSI special version? > > Best, > > Bocheng Zou > On 8/19/25 21:47, Zaftrox wrote: > > I am using the conda precompiled version. > > > Le mardi 19 août 2025 à 22:37:37 UTC+1, [email protected] a écrit : > >> Hi Zaftrox, >> >> Thank you for raising the issue. Which PyChrono distribution are you >> using? Are you building from source or using the conda version? >> >> Best, >> >> Bocheng Zou >> On 8/19/25 20:26, Zaftrox wrote: >> >> i didn't use C++ to code it, i am using pychrono in python. >> As i said, i encountered this issue when i tried to use a custom font for >> a statictext (Irrlicht rendering). >> I prepared the font xml file and png using BMFont and when i called : >> pychrono.irrlicht..ChVisualSystemIrrlicht().GetDevice().getGUIEnvironment().getFont(filename), >> >> it throws the error TypeError: in method 'IGUIEnvironment_getFont', >> argument 2 of type 'irr::io::path const &' where the filename is the path >> "/Physics engine/chrono project/font/fontToUse.xml". >> >> The same goes for addArrowMesh function that i used to setup an origin >> for the coords system. However, when i pass the name argument (something >> like "X-axis" ...) it throws the same error. >> Le mardi 19 août 2025 à 18:12:26 UTC+1, Dan Negrut a écrit : >> >>> Can you drop your cpp here? A small version that still shows the >>> problem. >>> Can you run some demos or other small models? I wonder if this is an >>> installation issue. >>> Thanks. >>> Dan >>> >>> On Monday, August 18, 2025 at 8:04:14 AM UTC-5 [email protected] wrote: >>> >>>> When i try importing a font with getFont(filename) it doesn't work, >>>> throw the following error : >>>> TypeError: in method 'IGUIEnvironment_getFont', argument 2 of type >>>> 'irr::io::path const &' >>>> >>>> the same happened with GetSceneManager().addArrowMesh(), the first arg >>>> needs to be an 'irr::io::path const &' which throw an error when passing >>>> a >>>> string. >>> >>> -- >> You received this message because you are subscribed to the Google Groups >> "ProjectChrono" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion visit >> https://groups.google.com/d/msgid/projectchrono/e9e94987-9caf-4c83-9689-d23e9244a762n%40googlegroups.com >> >> <https://urldefense.com/v3/__https://groups.google.com/d/msgid/projectchrono/e9e94987-9caf-4c83-9689-d23e9244a762n*40googlegroups.com?utm_medium=email&utm_source=footer__;JQ!!Mak6IKo!PuIw-XvivZgWIDn0-ltA7dXeMhGc4uAdHbfU1ohvb9_er7CMryK9xoKJDQgaHcXsyyaywQK-svT_QCjoXhT7iA$> >> . >> >> -- > You received this message because you are subscribed to the Google Groups > "ProjectChrono" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > > To view this discussion visit > https://groups.google.com/d/msgid/projectchrono/0f0125d7-8353-497d-a8cd-1c18e94513aen%40googlegroups.com > > <https://urldefense.com/v3/__https://groups.google.com/d/msgid/projectchrono/0f0125d7-8353-497d-a8cd-1c18e94513aen*40googlegroups.com?utm_medium=email&utm_source=footer__;JQ!!Mak6IKo!MaCs9rP2LsBVbu7_QRCjLNf4uyC8z9vMyP99dccAyouiwXVF47EIU2HoPR8pKRS15UtgxL2BeBhMQLoqg5Px_Q$> > . > > -- You received this message because you are subscribed to the Google Groups "ProjectChrono" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/projectchrono/d5e3f90a-c5e6-4680-8522-172a36fb54a7n%40googlegroups.com.
