I just tested out those 3 components on one page too, and so far it seems ok.
https://oko.nyc/threepress-samples/
CFF plugin, with a chart.js Chart, and Threepress galleries. Only difference may be that my Chart is not generated by CFF; I’m not familiar with that route. I was just working with Chart.js myself anyway though so I included one from scratch.
Can you view your javascript console for errors ? If there’s no red messages there you can try installing ‘Error Log Monitor’ to get a log of PHP errors.
Thread Starter
andyro
(@andyro)
Thread Starter
andyro
(@andyro)
PHP error log just showed a bunch of deprecated WooCommerce settings which is odd since the plugin is up to date in a brand new install of the WP 2024 theme…
Thread Starter
andyro
(@andyro)
Non-woo-commerce related errors.
- Jan 06, 18:12:13WPComSH: headstart: wpcomsh_apply_headstart_terms: Could not find the headstart annotation for theme [twentytwentyfour]. locale=[en_US] fallback_locale=[en]
- Jan 10, 16:03:23Cron reschedule event error for hook: action_scheduler_run_queue, Error code: invalid_schedule, Error message: Event schedule does not exist., Data: {“schedule”:”every_minute”,”args”:[“WP Cron”],”interval”:60}
- Jan 11, 15:01:34WPComSH: headstart: wpcomsh_apply_headstart_terms: Could not find the headstart annotation for theme [twentytwentyfour]. locale=[en_US] fallback_locale=[en]
Thread Starter
andyro
(@andyro)
Do you perhaps have a bundling / minifying / caching option active somewhere? It looks like the site is attempting to bundle Threepress along with jquery. I opened up one of scripts throwing an error and it was a combination of the those, which is not going to work. It looks like somehow your site serves resources out of a “_static” endpoint, so the site probably attempts to make super-efficient bundles of js files, and then serve them all together out of there, but somehow it’s mashing things together that shouldn’t be. (That’s my 75% confidence guess).
That “minifying” could come from a theme, plugin, or potentially even your host might offer that. Does that ring a bell? Let me know any thoughts, I’d be happy to get to the bottom of it in any case.
Thread Starter
andyro
(@andyro)
The site is hosted on wordpress.com as a ‘creator’ level package. I will shut off some plugins and see if that helps. There is a bunch of jetpack stuff running by default…
Thread Starter
andyro
(@andyro)
I shutoff jetpack performance accelerator: “Load pages faster by allowing Jetpack to optimize your images and serve your images and static files (like CSS and JavaScript) from our global network of servers.”
Thread Starter
andyro
(@andyro)
That was it. Switching back on plugins (flying car showed up finally). Ugh, nope that wasn’t it – it is some other plugin. Isolating now.
-
This reply was modified 2 years ago by
andyro.
Thread Starter
andyro
(@andyro)
It was a ‘Page Optimize’ plugin installed by default (Automattic): “Optimizes JS and CSS for faster page load and render in the browser.”
Aha, good to know the cause at least. I don’t think there will be any fix other than disabling that particular one. The issue is Threepress uses unbundled js modules. This is an increasingly used practice, but for it to work with these optimizers I would need to bundle all the Threepress routes into separate bundles, and I likely won’t have time for that.
If you need any help getting the parametric stuff started feel free to ask.
Thread Starter
andyro
(@andyro)
Thank you. Well, ultimately my goal is to use the math of NJ Wildberger (Rational Trigonometry) as a computationally more efficient method to describe/render polyhedra with no trailing decimals or rounding. What I eventually want to do is use the CFF interface to allow for parametric sliders to manipulate the polyhedra values to warp and morph the polyhedra. I’d start with the classic Tetraktys series… I need to find an authoring tool that will allow me to write polyhedra this way however, I’ve done so in Graphisoft ArchiCad but it limits my 3D export formats. Other authouring tools like Blender will have their own conventional trig methods to define polyhedra, I will probably need to hand code the stuff… or start from a conventional authoring tool’s methods and then rip out the math bits and swap in the rational trig methods.
-
This reply was modified 2 years ago by
andyro.
Thread Starter
andyro
(@andyro)
I’ll post a PDF here that outlines the basics… for more info on the topic look up Quadrays, Tom Ace (C++ version), Kirby Urner, Bucky Fuller, Caltrops, etc. Gerald DeJong put me on the Wildberger path… https://openbuilding.ca/wp-content/uploads/2024/02/Graphisoft-Days-Geometry-Section.pdf
-
This reply was modified 2 years ago by
andyro.
-
This reply was modified 2 years ago by
andyro.
Thread Starter
andyro
(@andyro)
Thread Starter
andyro
(@andyro)
Also – I’m a little stumped on whether I can use the standard WP media uploader to put .glb files – doesn’t seem to want to. Will I need to ftp them up? (per: https://wordpress.com/support/accepted-filetypes/) – oh nevermind – you solved that with your model UI page – got it!
-
This reply was modified 2 years ago by
andyro.
-
This reply was modified 2 years ago by
andyro.