Skip to main content

3pc-panel

3pc-panel is a Python library used to define a composite panel. It provides a Panel class to define the panel's geometry, laminate properties, and boundary conditions, built upon the Laminate class (provided by the 3pc-laminate package).

Installation

Use the package manager pip to install 3pc-panel. Since 3pc-panel and its dependencies are publicly available on PyPI, you can install them directly:

pip install 3pc-panel 3pc-laminate 3pc-ply 3pc-material 3pc-utils

API Reference

Panel Class

The primary component of this package is the Panel class, which holds panel properties and its laminate configuration.

from panel.panel import Panel

Required Parameters

When initializing Panel directly, the following parameters are required:

  • panelID (str): Panel identifier.
  • length (float): Panel length, along x direction.
  • width (float): Panel width, along y direction.
  • laminate (Laminate): Panel laminate object.
  • boundary_condition (str): Panel boundary condition (e.g., "SSSS" for all sides simply supported).

Methods

Panel.fromDict(**kwargs)

Initializes a Panel instance using a dictionary of keyword arguments.


Usage Examples

Basic Initialization

Below is an example of defining a panel using a laminate.

from material.orthotropic import Orthotropic
from ply.ply import Ply
from laminate.laminate import Laminate
from panel.panel import Panel

# Define the material
zg_material = Orthotropic(
    matID="zg",
    E1=181.0, 
    E2=10.3,
    G12=7.17, 
    G13=7.17, 
    G23=7.17, 
    v12=0.28,
    rho=1.5
)

# Define plies
ply_0 = Ply(plyID="1", angle=0.0, material=zg_material, thickness=0.125)
ply_90 = Ply(plyID="2", angle=90.0, material=zg_material, thickness=0.125)

# Define laminate (0/90)s
lam = Laminate(
    lamID="lam_01", 
    stacking_sequence=[ply_0, ply_90, ply_90, ply_0],
    offset="mid"
)

# Define panel
pnl = Panel(
    panelID="panel_01", 
    length=10.0, 
    width=5.0, 
    laminate=lam, 
    boundary_condition="SSSS"
)
pnl.number_of_terms = 8

Commands

The package provides a command-line interface entry point. After installing, you can run the main application using:

panel

(Currently, this serves as an entry point defined in panel.main:main)

Metadata

Release files for 3pc-panel 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for 3pc-panel 1.0.0
File Size Uploaded Provenance
3pc_panel-1.0.0.tar.gz 12.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for 3pc-panel 1.0.0
File Interpreter ABI Platform
3pc_panel-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 24.6 kB

Release files / 3pc_panel-1.0.0.tar.gz

Download URL 3pc_panel-1.0.0.tar.gz
Size 12.1 kB
Tags Source
SHA-256 checksum
How to use checksums
78d38294101698905875791023f90292a556cdeb7029db0b35e8f1ae97fafefc
BLAKE2b-256 checksum
How to use checksums
df82f68869a8ef20787c1cc6fb18bc6b51905488d7c75fd336f5226351666d02
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.3

Release files / 3pc_panel-1.0.0-py3-none-any.whl

Download URL 3pc_panel-1.0.0-py3-none-any.whl
Size 12.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4f12cdfd9d2028ba24bb6a5a919cd7c78ef625a3e60812c3517e2df17e4f4506
BLAKE2b-256 checksum
How to use checksums
de7d63040873810e3c27383fe0691f4d295406609136a34f3bf4d1eff96434c8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.3

Security for 3pc-panel 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page