Linux 软件免费装
Banner图

Press3D

开发者 arieslab
更新时间 2026年1月7日 04:51
捐献地址: 去捐款
PHP版本: 7.4 及以上
WordPress版本: 6.9
版权: GPLv2 or later
版权网址: 版权信息

标签

stl 3d 3d viewer obj gltf

下载

1.0.2

详情介绍:

Press3D is a powerful and feature-rich WordPress plugin that enables you to display interactive 3D models directly on your website. Built with the industry-standard Three.js library, it provides a professional-grade 3D viewing experience with extensive customization options. Supported 3D Model Formats: Key Features: Perfect for: Source Code The source code for this plugin is available in the src and assets/src directories.

安装:

Automatic Installation:
  1. Log in to your WordPress admin panel
  2. Go to Plugins → Add New
  3. Search for "Press3D"
  4. Click "Install Now" and then "Activate"
Manual Installation:
  1. Download the plugin ZIP file
  2. Go to Plugins → Add New → Upload Plugin
  3. Choose the downloaded file and click "Install Now"
  4. Activate the plugin through the Plugins menu
Using the Plugin:
  1. Go to Settings → Press3D to configure default options
  2. In the block editor, add a "Press3D Model" block (find it in the Media category)
  3. Upload your 3D model file (STL, OBJ, GLB, or GLTF) via the media library
  4. Customize viewer settings in the block inspector panel
  5. Publish your page/post to display the interactive 3D model
Using Shortcodes: After uploading a model to the Media Library:
  1. Click on the model attachment to open Attachment Details
  2. Click the "3D model shortcode" button to configure viewer settings
  3. Copy the generated shortcode (e.g., [press3d id="123" version="2"])
  4. Paste the shortcode anywhere in your posts, pages, or widgets The shortcode format is: [press3d id="123" version="2"] where:
  5. id is the attachment ID
  6. version is the model version number (supports multiple versions of the same model)

屏幕截图:

  • Creating shortcodes in Media Library Attachment Details modal
  • Shortcode usage in Classic Editor
  • Settings page with default color and loading animation options

升级注意事项:

1.0.2 Security update: Fixed escaping issues identified in plugin review.

常见问题:

What 3D model formats are supported?

Press3D supports four major 3D formats: STL, OBJ, GLB, and GLTF. GLB (binary glTF) is recommended for best web performance and file size.

Is the plugin compatible with the Gutenberg block editor?

Yes! Press3D includes a native Gutenberg block with live preview, full inspector controls, and real-time 3D viewer in the editor.

Can I use shortcodes instead of blocks?

Absolutely! Use the shortcode [press3d id="123" version="2"] where 123 is your media attachment ID. Shortcodes also support versioning with the version parameter: [press3d id="123" version="2"].

Does it work with Classic Editor?

Yes, the shortcode works in both Gutenberg and Classic Editor.

What is the recommended file size for 3D models?

For optimal performance and page load times, we recommend keeping model files under 10MB. Consider using GLB format with compression for larger models.

Can I customize the appearance of the 3D viewer?

Yes! You can control:

  • Model color
  • Light intensity (0-10 scale)
  • Shininess/metalness (0-1 scale, affects roughness and metalness)
  • Auto-rotate speed and direction (-10 to +10)
  • Loading animation style (Spinner, Progress Bar, 3D Cube, or None)
  • Viewer dimensions (width/height with multiple units)

Does the camera position save?

Yes! Press3D saves the exact camera state (position, target, up vector) so when you refresh the page, the 3D model appears exactly as you positioned it.

Is Three.js library included?

Yes, the Three.js library is bundled with the plugin and optimized for WordPress.

Are there any server requirements?

You need PHP 7.4 or higher and WordPress 6.6 or higher. The plugin uses standard WordPress APIs and doesn't require special server configurations.

Does it work on mobile devices?

Yes! Press3D is fully responsive with touch controls for rotation, zoom, and pan on tablets and smartphones.

Can I use this plugin commercially?

Yes, Press3D is licensed under GPLv2 or later, which allows commercial use.

Is the plugin accessible?

Yes, Press3D includes ARIA labels, alt text support for screen readers, keyboard navigation, and semantic HTML structure.

Why are my STL models rotated differently than in other viewers?

Press3D automatically rotates STL models -90° around the X-axis to match the Y-up orientation standard used by most 3D software.

Can I set a default color for all models?

Yes! Go to Settings → Press3D and set a default color.

How do I access model metadata programmatically?

Press3D exposes model metadata via WordPress REST API.

更新日志:

1.0.2 1.0.1 1.0.0 Initial release.